1
fdj
customizing the main menu
  • 2004/4/21 8:26

  • fdj

  • Just popping in

  • Posts: 51

  • Since: 2002/9/19


hello,
i would like to replace "text items" from the main menu by pics. Is it possible to make some modifications to do that?

eg :
"forum" will be replaced by "forum.gif"

2
chapi
Re: customizing the main menu
  • 2004/4/21 8:56

  • chapi

  • Theme Designer

  • Posts: 611

  • Since: 2002/1/22


Sure, why not?

Edit the mainmenu template in the template manager. Replace this line ..

Quote:

<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>


with this one ..

Quote:

<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><img src="<{$xoops_url}>/dir_to_your_images/<{$module.name}>.gif"></a>


After this every main menu entry will get a .gif at the end, and an image will be displayed. But don't use spaces in your menu names!

3
fdj
Re: customizing the main menu
  • 2004/4/21 11:43

  • fdj

  • Just popping in

  • Posts: 51

  • Since: 2002/9/19


thank you so much chapi... it works fine !!!

Login

Who's Online

137 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

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

Latest GitHub Commits