<emit source="blog-pages"></emit>
Provided by module: CMS: Blog Module
This tag makes it possible to emit blog pages and information about blogpages
on the site.
Emit all blog pages in a site and link to them:
<emit source='blog-pages'>
<a href='&_.path;'>&_.title; &_.visible-from;</a><br/>
</emit> |
Create a category selector and emit all blog pages of the selected category:
<emit source='category' file='/categories.xml' node='' category=''>
<a href='/?category=&_.node;'>&_.name;</a><br/>
</emit>
<emit source='blog-pages' category='&form.category;'>
<a href='&_.path;'>&_.title; &_.visible-from;</a><br/>
</emit> |
Emit all Swedish blog pages in a site and link to them:
<emit source='blog-pages' language='sv'>
<a href='&_.path;'>&_.title; &_.visible-from;</a><br/>
</emit> |
Attributes
- language
-
Emit a specific language. This attribute has to be set if the site is
a multi language site.
- category
-
Emit only blog pages of a specific category. The category has to be
specified in a Roxen CMS category file.
- path
-
Emit only the blog entry found in path. This is a glob pattern.
-
&_.author; (provided by CMS: Blog Module)
Author id of blog entry.
-
&_.path; (provided by CMS: Blog Module)
Path of the blog entry.
-
&_.title; (provided by CMS: Blog Module)
Title of blog entry.
-
&_.visible-from; (provided by CMS: Blog Module)
The date the blog entry is visible from.