Hi Marc

Not displaying the navigation isn't an option for me. Could anyone point me to a way how to set a default content node if no active page is declared in the request?

You have several possibilities:

As described in the wiki:
http://www.magnolia.info/wiki/Wiki.jsp?page=ReusingContentOnDifferentPages
        
<cms:loadPage path="pathToTheSite" />
<cms:contentNodeIterator contentNodeCollectionName="parName">

Or via via the paragraph handle, something like
String parHandle = "features/site/site/parName/parNumber";
Content par = ContentRepository.getHierarchyManager(ContentRepository.WEBSITE).getContent(parHandle );

Hope this helps
Christoph

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to