Tags used only in this particular page

These are the other tags that come with the default installation of CMS Demo. They are only inserted in this particular page. For each of the tags there is an example of how it looks like when it is used.

{adsense}
Syntax used

Display


Example
{adsense ad_client="pub-random#" ad_width="125"
ad_height="125" ad_format="125x125_as"}

This tag will take the basic parameters that would be provided by the Google adsense program and puts them in a easy to use tag that makes your templates look much cleaner.

{contact_form}
Syntax used
Display
Example
{contact_form email="yourname@yourdomain.com"}
Display's a simple contact form.
Your Name: Your Email Address: Subject: Message:

{current_date}
Syntax used
Display
Example
{current_date format="%A %d-%b-%y %T %Z"}
Prints the current date and time.
Tuesday 06-Jan-09 00:21:34 GMT

{edit}
Syntax used
Display
Example
{edit}
Creates a link to edit the page in the Admin Panel.

{embed}
Syntax used
Display
{embed url=http://www.magharl.co.uk}
Enable inclusion (embeding) of any other application into the CMS Demo. The most usual use could be a forum.

{googlepr}
Syntax used
Display
Example
{googlepr}
Display's a number that represents your google pagerank.
2

{html_blob}
Syntax used
Display
{html_blob name='footer'}
Inserts an html blob into your template or page. The code for the footer of this page is in a html blob.

{menu_text}
Syntax used
Display
Example
{menu_text}
Prints the menu text of the page.
Tags used in this page

{modified_date}
Syntax used
Display
Example
{modified_date format="%A %d-%b-%y %T %Z"}
Prints the date and time the page was last modified.
Wednesday 24-May-06 12:29:46 GMT

{print}
Syntax used
Display
Example
{print}
Creates a link to only the content of the page.
Print This Page

{search}
Syntax used
Display
Example
{search}
Searches your website using Google's search engine.

{startExpandCollapse} {stopExpandCollapse}
Syntax used


Display
Example
{startExpandCollapse id="name" title="Click Here"}
Text here
{stopExpandCollapse id="name" title="Click Here"}
Enables content to be expandable and collapsable.
Click Here
Here is some text that displays when expanded. Click the "Click here" link to collapse it again.


{sitemap}
Syntax used
Display
Example