1
russtik
Want to modify the Main Menu position...
  • 2004/8/26 15:22

  • russtik

  • Just popping in

  • Posts: 70

  • Since: 2004/8/13


Hi,

I'm trying to get the main menu block to appear in the header as a set of tabs instead of in the left column. I've tried copying the markup from the block template into theme.html:



This didn't work, a quick look at the source showed nothing between the comments when run through the browser.

So basically I haven't got any more ideas & I was hoping some of you lot might?

Pleeeeease

2
hsalazar
Re: Want to modify the Main Menu position...
  • 2004/8/26 15:50

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


russtik:

You can't just copy the code from a block and expect it to work outside of a block. Simply stated, that is because XOOPS doesn't know the meaning of the Smarty tags placed in the HTML file. The solution would be to add the menu PHP code to the footer (in an unobstrusive place) and to make the necessary Smarty variable assignments. Of course, it gets a little difficult to keep the dynamic attributes of the main menu, but with persistence, I'm sure you can do it.

Cheers.

Login

Who's Online

287 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 287


more...

Donat-O-Meter

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

Latest GitHub Commits