Images as menu links

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
suffrinmick

Images as menu links

Post by suffrinmick »

Hi Everyone

Done my first site using CMS made simple - absolutely brilliant!

I'm using the vertical navigation bar. I wondered how you can change the navigation links to include a small (rollover) image just before the actual link text e.g.

Instead of :
link

you would have:
Imagelink


This will also lead onto a probable future question of how you would use rollover buttons instead of text links as well.

Many thanks
Suffrinmick
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Images as menu links

Post by Ted »

I think something more custom would have to be done.  It might be worth looking into the pimenu thing that's floating around.  Should be able to modify the output enough to get the rollovers you need.
Piratos

Re: Images as menu links

Post by Piratos »

Pimenu creates dummy - variables to smarty if you are using parameter picture

example : picture=" images/%#%.gif"

Smarty hold variables as follow:

->p1  images/Homepage_a.gif
->p2  images/Homepage_b.gif
->p3  images/Homepage_c.gif

%#% expands to the menutext.

you must only create the grafics and use the variables in the smarty - template of your menusystem
Locked

Return to “CMSMS Core”