Hi Joel,

 

Thank you for the tips!

 

Using navigation manager works well! One more thing to perfect it, do you
know how to make it to just display top 2 sub menus?

 

I want the landing pages to display top 2 sub menus, and if there are more
than two, a MORE link will be displayed.

 

Eg.

 

Housing & living

- Accommodation

 

Careers

- Career Centre

- Field work education

- MORE

 

Cheers,

 

Andry

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Joel Kinzel
Sent: Thursday, 10 November 2011 2:06 AM
To: [email protected]
Subject: Re: Questions on navigation

 

We usually achieve this using something like this: 

HTML Foundation Page:
<ul><%!! Navigation:OutputArea(NavName) !!%></ul>

Navigation Code:
<li><a href="<%!! Context:CurrentIndex.Page.GetUrl() !!%>"><%!!
Context:CurrentIndex.Headline !!%></a>
<reddot:cms>

<if>

<query valuea="Context:CurrentIndex.HasChildren()" operator="=="
valueb="Bool:True">

<htmltext><ul><nagivation:nextlevel></ul></htmltext>

</query>

<if>

</reddot:cms>

</li>

If you want the home page to be listed you would need to make a second
Navigation Code content class and simply remove the reddot if statement and
put the <navigation:nextlevel> after the closing <li> tag and set that to
"special level: 1-1" and "selected only" 

-- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/4N5WUtZ25GAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to