being new to cmsms, I was trying to set up my first project.... (which was nice & easy - I like cmsms...)
only issue: I want to place an image below the vertical menu. It is fine as long as I want to place a static image - I can do that simply by adding the coding within the section....
But I failled to do so when I tried to to choose the image depending on the menu item... (I've been searching through the forum entries ... and tried several things, but not really successful...)
Any simple advice available? Again I only want to add an image below the vertical (sub)menu - not cklickable, but depending on the menu level.
Thx
Thomas
[Solved] Sidebar & images
[Solved] Sidebar & images
Last edited by Anonymous on Sat Aug 23, 2008 1:05 pm, edited 1 time in total.
-
- Power Poster
- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: Sidebar & images
What ways have you tried?
Because it sounds fairly easy to me; by using $page_alias.
For instance:
This way, the image is selected as from which page you are currently on.
Hope this helps you properly?
Because it sounds fairly easy to me; by using $page_alias.
For instance:
Code: Select all
<div id="menu_vert">
{menu}
<img src="images/{$page_alias}.gif" alt="{$page_alias}" />
</div>
Hope this helps you properly?

Re: Sidebar & images
perfect - thank you !
-
- Power Poster
- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: Sidebar & images (solved)
You're very welcome
.
