1
kAlvaro
Blocks outside standard layout
  • 2007/4/3 10:40

  • kAlvaro

  • Just popping in

  • Posts: 3

  • Since: 2007/3/28


I'm building a Xoops-powered site on top of a cute design by our regular designer. The problem is that there are two specific blocks (a top menu with links to static content and the search box) that should be displayed outside the standard 3-column design that XOOPS uses (they fit in the page header).

I could move this code in my theme HTML into the header:

<{foreach from=$xoBlocks.page_bottomleft item=block}>
    <{include 
file="a2lados/theme_blockcenter_l.html"}>
<{/foreach}>


But this would move all the blocks of that kind.

I'm currently thinking of hard-coding the aforementioned items in my theme. For instance, I can display the regular search box, copy the generated HTML into my theme header, and hide the box.

Is that a good idea? What's the best approach I could use?

2
rabideau
Re: Blocks outside standard layout
  • 2007/4/3 13:55

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Go here:http://helpxoops.info

There are links to one site with over 1000 XOOPS and XOOPS Cube themes... plus you can see some interesting implementations for additional ideas.
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
skenow
Re: Blocks outside standard layout
  • 2007/4/4 23:30

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


There is a module to help you do this - read the about Boox

There are themes that add the search box to the header, as well as the login and user blocks (zeta reticuli, morphogenesis and others based on them).

There are also ways to use the banners to position your custom blocks.

4
davidl2
Re: Blocks outside standard layout
  • 2007/4/4 23:56

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


And also a bit of searching on this forum will provide other information on this topic...

Login

Who's Online

209 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 209


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits