So I've read through almost all of the questions posted here about the
Navigation Manager in OpenText. I've recently just started working with
OpenText and I've picked up everything else relatively fast, except getting
my navigation to work. I've used the <!IoRangeList><li><%lst_nav%></li><
!/IoRangeList> and that worked fine, but I want to move on.
So if anyone could provide any insight as to why nothing is appearing where
the nav area is, I'd really appreciate it. Below is my code.
Content Classes for the Nav levels, with the PrimaryNavigation
areas/properties next to them:
*NextLevel- (1-1 / Selected & not selected)*
<navigation:nextlevel>
*Not Selected W/ Children- (2-2 / Not selected)*
<reddot:cms>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_IsShowInTopNav).GetHtml()"
operator="==" valueb="Yes">
<htmltext><li class="</htmltext>
<!-- then figure out extra class -->
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(stf_NavExtraClass).GetHtml()"
operator="!=" valueb="">
<htmltext><%!!
Context:CurrentPage.Elements.GetElement(stf_NavExtraClass).GetHtml() !!%>
</htmltext>
</query>
</if>
<!-- also figure out if first in its class -->
<if>
<query valuea="Context:CurrentLevelCount" operator="=="
valueb="Int:1">
<htmltext>first </htmltext>
</query>
</if>
<!-- finish off li, do the actual link -->
<htmltext>"></htmltext>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_DocumentType).GetHtml()"
operator="==" valueb="internal">
<htmltext><a href="<%!!
Context:CurrentPage.Elements.GetElement(anc_InternalLink).GetHtml() !!%><%!!
Context:CurrentPage.Elements.GetElement(stf_ExtraLinkParams).GetHtml() !!%
>"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
<query type="else">
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_DocumentType).GetHtml()"
operator="==" valueb="external">
<htmltext><a href="<%!!
Context:CurrentPage.Elements.GetElement(stf_ExternalLink).GetHtml() !!%>"
target="_blank"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
<query type="else">
<htmltext><a href="<%!! Context:CurrentIndex.GetUrl()
!!%>"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
</if>
</query>
</if>
<!-- deal with children -->
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_IsShowChildrenSuppressed).GetHtml()"
operator="!=" valueb="Yes">
<if>
<query valuea="Context:CurrentIndex.HasChildren()"
operator="==" valueb="Bool:True">
<htmltext><ul class="styled"><navigation:nextlevel
></ul></htmltext>
</query>
</if>
</query>
</if>
<htmltext></li></htmltext>
</query>
</if>
</reddot:cms>
*Not Selected w/o Children- (3-3 / Not selected*
<reddot:cms>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_IsShowInTopNav).GetHtml()"
operator="==" valueb="Yes">
<htmltext><li class="</htmltext>
<!-- then figure out extra class -->
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(stf_NavExtraClass).GetHtml()"
operator="!=" valueb="">
<htmltext><%!!
Context:CurrentPage.Elements.GetElement(stf_NavExtraClass).GetHtml() !!%>
</htmltext>
</query>
</if>
<!-- also figure out if first in its class -->
<if>
<query valuea="Context:CurrentLevelCount" operator="=="
valueb="Int:1">
<htmltext>first </htmltext>
</query>
</if>
<!-- finish off li, do the actual link -->
<htmltext>"></htmltext>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_DocumentType).GetHtml()"
operator="==" valueb="internal">
<htmltext><a href="<%!!
Context:CurrentPage.Elements.GetElement(anc_InternalLink).GetHtml() !!%><%!!
Context:CurrentPage.Elements.GetElement(stf_ExtraLinkParams).GetHtml() !!%
>"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
<query type="else">
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_DocumentType).GetHtml()"
operator="==" valueb="external">
<htmltext><a href="<%!!
Context:CurrentPage.Elements.GetElement(stf_ExternalLink).GetHtml() !!%>"
target="_blank"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
<query type="else">
<htmltext><a href="<%!! Context:CurrentIndex.GetUrl()
!!%>"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
</if>
</query>
</if>
<htmltext></li></htmltext>
</query>
</if>
</reddot:cms>
*
*
*Selected w/ Children - (2-2/ Selected)*
<reddot:cms>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_IsShowInTopNav).GetHtml()"
operator="==" valueb="Yes">
<htmltext><li class="on </htmltext>
<!-- then figure out extra class -->
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(stf_NavExtraClass).GetHtml()"
operator="!=" valueb="">
<htmltext><%!!
Context:CurrentPage.Elements.GetElement(stf_NavExtraClass).GetHtml() !!%>
</htmltext>
</query>
</if>
<!-- also figure out if first in its class -->
<if>
<query valuea="Context:CurrentLevelCount" operator="=="
valueb="Int:1">
<htmltext>first </htmltext>
</query>
</if>
<!-- finish off li, do the actual link -->
<htmltext>"></htmltext>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_DocumentType).GetHtml()"
operator="==" valueb="internal">
<htmltext><a href="<%!!
Context:CurrentPage.Elements.GetElement(anc_InternalLink).GetHtml() !!%><%!!
Context:CurrentPage.Elements.GetElement(stf_ExtraLinkParams).GetHtml() !!%
>"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
<query type="else">
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_DocumentType).GetHtml()"
operator="==" valueb="external">
<htmltext><a href="<%!!
Context:CurrentPage.Elements.GetElement(stf_ExternalLink).GetHtml() !!%>"
target="_blank"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
<query type="else">
<htmltext><a href="<%!! Context:CurrentIndex.GetUrl()
!!%>"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
</if>
</query>
</if>
<!-- deal with children -->
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_IsShowChildrenSuppressed).GetHtml()"
operator="!=" valueb="Yes">
<if>
<query valuea="Context:CurrentIndex.HasChildren()"
operator="==" valueb="Bool:True">
<htmltext><ul class="styled"><navigation:nextlevel
></ul></htmltext>
</query>
</if>
</query>
</if>
<htmltext></li></htmltext>
</query>
</if>
</reddot:cms>
*Selected - w/o Children- (3-3/ Selected)*
<reddot:cms>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_IsShowInTopNav).GetHtml()"
operator="==" valueb="Yes">
<htmltext><li class="on </htmltext>
<!-- then figure out extra class -->
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(stf_NavExtraClass).GetHtml()"
operator="!=" valueb="">
<htmltext><%!!
Context:CurrentPage.Elements.GetElement(stf_NavExtraClass).GetHtml() !!%>
</htmltext>
</query>
</if>
<!-- also figure out if first in its class -->
<if>
<query valuea="Context:CurrentLevelCount" operator="=="
valueb="Int:1">
<htmltext>first </htmltext>
</query>
</if>
<!-- finish off li, do the actual link -->
<htmltext>"></htmltext>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_DocumentType).GetHtml()"
operator="==" valueb="internal">
<htmltext><a href="<%!!
Context:CurrentPage.Elements.GetElement(anc_InternalLink).GetHtml() !!%><%!!
Context:CurrentPage.Elements.GetElement(stf_ExtraLinkParams).GetHtml() !!%
>"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
<query type="else">
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(opt_DocumentType).GetHtml()"
operator="==" valueb="external">
<htmltext><a href="<%!!
Context:CurrentPage.Elements.GetElement(stf_ExternalLink).GetHtml() !!%>"
target="_blank"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
<query type="else">
<htmltext><a href="<%!! Context:CurrentIndex.GetUrl()
!!%>"><%!! Context:CurrentIndex.Page.Headline !!%></a></htmltext>
</query>
</if>
</query>
</if>
<htmltext></li></htmltext>
</query>
</if>
</reddot:cms>
******************************************************************************************
I've set the main pages that need to appear in the navigation list as
'Master Pages' and selected the list in the radial list on that screen.
In the pages' content classes, I've put this code in the navigation <div>
<%!! Navigation:OutputArea(Str:PrimaryNavigation) !!%>
When I preview the page, nothing appears. And when I click view source,
there is nothing in the <div>.
Any ideas? Thanks!
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/groups/opt_out.