$entry Variable
The Entry variable can be accessed through {$entry}.| Property | Description | Usage | Output |
| title | Contains the title of the entry. | {$entry.title} | <h2>The Lord of the Rings</h2> |
| keywords | Meta keywords which is used by search engines | {$entry.keywords} | LORT, Time Warner, Blockbuster, Hollyword, Oscar |
| short_description | Short description of the entry. | {$entry.short_description} | The Lord of the Rings is one of the.. |
| content | Contains the content of the entry composed by the user. | {$entry.content} | <p>Sauron's power has become... <p> |
| data | A complete collection of properties which contains data related to the entry. see $entry.data |
{$entry.data} | see $entry.data |
| map |
Section map defined by the get parameter "section_map" from the location bar |
{$entry.map} | 1,42 |
| type | Singular name of entry type. | {$entry.type} | Book |
| type_plural | Plural name of entry type. | {$entry.type_plural} | Books |
| specific | A collection of data specific to this entry type. Please use {$archive->dump($entry.specific,true)} to view its contents. |
||
| template | The name of the template used by the entry. | {$entry.template} | _@book.tpl |
Sample Usage: (e.g. news )
<div id="contents">
<h3>{$entry.title}</h3>
<i>{$entry.date_created|date_format}</i> -
<b>{$entry.type}</b><br/>
{$entry.content}
</div>
HTML Source Output
<div id="contents">
<h3>Documentation of RBCMS</h3>
<i>Apr 18, 2008</i> - <b>News</b><br>
Documentation of the site is under way.
</div>