Hi,
ok, let me give it a try but I'm not at work atm so there can be errors in the syntax of the following code nippets

. But at least you should get a good starting point where and how to implement your requirements.
1. Define the custom attribute:
- Login, then navigate to the control panel, select "custom attributes" from the left side menu under the portal section (if I remember right).
- Create a new custom attribute for the type "page" as text field (secret/ non indexed) named e.g. "layoutImagePath"
2. Use the custom attribute:
Go to the page management and add an image path for "page A" and leave it blank for "page B"
3. Apply the logic into the navigation.vm:
1change
2<a href="$nav_child.getURL()" $nav_child.getTarget()>$nav_child.getName()</a>
3
4to sth like that:
5<a href="$nav_child.getURL()" $nav_child.getTarget()>
6 #set ($imagePath = $nav_child.getExpandoBridge().getAttribute("layoutImagePath"))
7 #if ($!imagePath)
8 <img src="$imagePath" />
9 #else
10 $nav_child.getName()
11 #end
12</a>
If $nav_child is the current page (in database it's named layout_) then this code should work. Otherwise happy debugging

.
Oli
Please sign in to flag this as inappropriate.