Structure Tags

These tags are made to make life easier for the template developer who wants to with pages or references to pages one way or another. As with content tags most functionality are there.

Description

These tags are made to make life easier for the template developer who wants to with pages or references to pages one way or another. As with content tags most functionality are there.

Location

Located in infoglue-structure

Available tags and short description

Tag

Description

currentPageUrl

This tag returns the current url

pageUrl

Returns a url to an internal  infoglue page

pageUrlAfterLanguageChange

Returns a url to the current infoglue page but with another language parameter.

relatedPages

Returns a collection of related pages created in a content attribute through the content relation editor.

boundPage

The tag returns a bound page as a WebPage-object (see API).

boundPages

Returns a collection of bound pages (WebPage-objects).

childPages

Returns a collection of pages (WebPage-objects) which are located directly below the given node.

isCurrentSiteNode

This tag returns if the given siteNode is the same as the user are currenly looking at – nice for navigation.

isSiteNodeParentToCurrentSiteNode

This tag returns if the given siteNode is a parent to the one  the user is currenly looking at – nice for navigation.

componentPropertyValue

This tag returns a non-binding property value defined in the component. Mostly used for textfields, textareas etc.

componentPropertyValues

This tag will get you String array consisting of component property values if it is a textfield, textarea or other non binding property. Useful if you for example use the new checkbox property with several options.

hasDefinedProperty

Returns if a component property value was set or not.

childComponents

Returns a list of components contained in the current one.

siteNode

Returns a siteNode object for further operations.

sortPages

This tag is very useful as it can sort a collection of pages in many ways.

hasPageAccess

This tag gets if the user (logged in or default annymous) has access to a certain siteNode.

componentProperties

Returns all the properties all components on the page with the same property name.

siteNodeLanguages

This tag returns all languages available for the current repository minus any disables languages for this page.

pageAsDigitalAssetUrlTag

This method calls an page and stores it as an digitalAsset - that way one can avoid having to serve javascript-files and css-files through InfoGlue. Not suitable for use if you have very dynamic css:es or scripts which includes logic depending on user info etc.. mostly usable if you have a static css or controls it on the pageCache parameters.

siteNodesFromWebPages

Allows easy conversion between a list of WebPage-beans and SiteNodeVO:s which are more suitable for advanced sorting etc.

componentLabel

This tag works similar as content:contentAttribute but is meant only to get mapped labels from the component itself. This removes the need to have a global labels content for labels which are component specific and does not need to be shared.



comments powered by Disqus