RoxenCMS 17Blog ModuleInternal Tags

   

<blog-count-pages>
<blog-strip-filename>
<blog-suggest-dirname>
<emit blog-page-categories>
<emit blog-page-components>
<emit blog-pages>

<emit source="blog-page-components"></emit>

Provided by module: CMS: Blog Module

This tag emits CMS components from a blog page. An alternative to using this tag is to simply insert each blog page and apply a XSLT-template in the insert tag. Example: <insert file='

RXML parse error: No current scope.
 | &_.path;
?__xsl=/only-content.xsl'/> where only-content.xsl is a XSLT-stylesheet that only processes the components in each page.

Simple example of how to create a list of blog pages.
<emit source='blog-pages'> <emit path='&_.path;' source='blog-page-components' language='&page.language;'> <if variable='_.component-name = header-component'> <h2>&_.title;</h2> </if> <elseif variable='_.component-name = text-picture'> <p>&_.text:none;</p> </elseif> </emit> </emit>


Attributes

path

The path of the blog page to emit components for.


language

Emit a specific language. This attribute has to be set if the site is a multi language site.


&_.component-tag; (provided by CMS: Blog Module)

The value of the tag component-tag. I.e if there is a text-tag in a component it will be accessible in the entity blog-page-components.text.