Content Tags

These tags are made to make life easier for the template developer who wants to extract content one way or another. We think we have covered most cases as we have built numerous sites with these.

Description

These tags are made to make life easier for the template developer who wants to extract content one way or another. We think we have covered most cases as we have built numerous sites with these.

Location

Located in infoglue-content

Available tags and short description

Tag

Description

contentAttribute

This tag will get you the value of a named attribute in a content, either bound though a property or referenced by a content id.

assetUrl

This tag will get you the asset url taken from a content, either bound though a property or referenced by a content id.

assetUrls

This tag will get you the asset urls taken from one or many contents bound by a property.

assetUrlFromString

This tag will get you an asset url by storing the string you supply as a file in the asset directory and returning an url to it.

assetThumbnailUrl

This tag will get you the asset url taken from a content, either bound though a property or referenced by a content id. Then it will scale it according to your specs so you get the thumbnail and not the full image.

contentTypeDefinition

Gets a content type definition object by it's name. This can then be used for generating forms etc.

contentDetailPage

A tag capable of finding the url to the most probable endpage for a certain content.

relatedContents

This tag lets you get a contents related contents.

contentVersion

This tag fetches a content version so you can get the properties of that object or get related objects in the object model.

content

This tag fetches a content so you can get the properties of that object or get related objects in the object model.

assignedCategories

This tag fetches the full path of a category. Important tag in followup searches based on assigned categories for example.

boundContents

This tag will get you a list of bound contents bound though a property on a component.

childContents

This tag will get you a list of child contents beneath a content, either bound though a property or referenced by a content id.

matchingContents

This tag fetches contents based on categorisation etc. That is – it is more of a query-api than a firm binding to contents.

contentSort, sortContentProperty,

sortContentVersionProperty,

sortContentVersionAttribute

These tags will allow you to sort a collection of contents in a number of ways.

editOnSight

A tag which lets you make a visible representation of the right-click editing found in the structure tool. Easier for the users and can be used on live sites as well.

assignPropertyBinding

A tag which lets you make a visible representation of the assign property editing found in the structure tool on component property bindings. Easier for the users and can be used on live sites as well.

remoteContentService,

contentParameter,

contentVersionParameter,

contentVersionAttributeParameter,

digitalAssetParameter, categoryParameter,

deleteContent,

updateContent,

deleteContentVersion,

updateContentVersion,

deleteDigitalAsset

A collection of tags aimed at performing some CRUD operations on contents in InfoGlue from the deliver engine. Uses a web service API to work against the CMS.

contentExportUrl

A tag capable of exporting a content fully into an importable xml file. Same result as the content export feature found in the content tool but available from templates. We use this in InfoGlue.org to automatically export the latest version of templates on requests.



comments powered by Disqus