To navigate from the root node I've tried this:
<%@ taglib uri="cms-taglib" prefix="cms" %>
<ul>
<cms:loadPage path="/siteRoot" />
<cms:out nodeDataName="path"/> <%-- Print /siteRoot correctly --%>
<cms:pageIterator>
<cms:out nodeDataName="path" var="path"/>
<li><a href="${pageContext.request.contextPath}${path}.html">
<cms:out nodeDataName="title"/> ${path} <%-- Print the currentPage
path NOT /siteRoot --%>
</a></li>
</cms:pageIterator>
<cms:unloadPage/>
</ul>
But don't work, inside the pageIterator it is loaded the currentPage again!
any idea ?
On Fri, Nov 13, 2009 at 12:09 PM, WebNID <[email protected]> wrote:
> Hi all,
> I'm evaluating to adopt Magnolia CMS.
> I've played with template, paragraphs and some basic JSP and I think that
> Magnolia is very comfortable and simple.
>
> But I've two question:
>
> - how is it possible to create a paragraph or a content that will be
> inerithed in every pages ?
>
> - is there a tag or something like <cms:loadPage> that can load directly
> the root node of all pages ?
>
> thanks all
>
> happy coding
> Alex
>
>
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------