In my navigation template I want to grab the content of an element that is 
on the page I though it should work like this:

<%!! Context:CurrentIndex.Elements.GetElement(stf_navTitle).GetHtml() !!%>

but it doesn't. Just to be sure I added this:

<%!! Context:CurrentMasterPage.Elements.GetElement(stf_navTitle).GetHtml() 
!!%>

and that works for the current page but not the pages rendered by navigation 
manager .

any ideas on what I am doing wrong?


Ps here is the entire navigation template, instead of headlien I want to use 
a custom element:

            <li class="overlay">
                    <a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!! 
Context:CurrentIndex.Elements.GetElement(stf_navTitle).GetHtml() !!%></a>
                    <reddot:cms>
                       <if>
                        <query valuea="Context:CurrentIndex.HasChildren()" 
operator="==" valueb="Bool:True">
                          <htmltext>
                            <ul>
                                <navigation:nextlevel>
                            </ul> 
                          </htmltext>
                        </query>
                     </if>
                    </reddot:cms>
                 </li>




Thanks,

- Dmitry

-- 
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/-/YraWRtl5Nu4J.
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