Chapter 3 - Templates
Back-End 4.x has incorporated a template structure for increased flexibility
and user control. Templates are just standard html files, except that the
dynamic content (the stuff that is stored in the database that you can control)
is inserted into the templates using {TAGS}.
When developing templates use absolute adresses (either begin with http://openconcept.ca/
or if you are starting from the root directory /) for the images used in
the templates.
<base href=""> tag
Javascript
Template Tags
The following tags are currently supported in Back-End.
{site_title}
This tag includes the name of your site into the title bar of the web browser. This information is configured in settings.inc.
{title}
This tag includes the category or article title of your page into the title bar of the web browser. This information is configured when you add a category or article to the database.
{navbar}
This tag includes your site navigation into your web pages. This information is configured in the navigation management interface.
{search}
This tag includes a search form into your web pages.
{random_link}
This tag includes a randomly generated link into your web pages. The links are configured in the links management interface.
{random_fact}
This tag includes a randomly generated fact into your web pages. The facts are configured in the facts management interface.
{category_title}
This tag includes the category title of your page into your web pages. This information is configured when you add a category into the database.
{article_author}
This tag includes the author of an articles' name into your web pages. This is presented as a hyperlink to directly email the author. This information is configured when you add an article into the database.
{created_date}
This tag includes the date an article was created or updated into your web pages. This information is configured when you add or edit an article into the database.
{article_title}
This tag includes the article title of your page into your web pages. This information is configured when you add an article into the database.
{content}
This tag includes the category or article content into your web pages. This information is configured when you add or edit an article or category.
{print_friendly}
This tag includes a hyperlink to printer friendly page for a specific article.
{email_friendly}
This tag includes a hyperlink to enable the sending of a specific article to a friend.
{comment_friendly}
This tag includes a hyperlink to enable the submission of comments relating to a specific article.
{catlinks}
{sublinks}
{related_articles}
This tag includes a list of links to the articles related to the one you are currently viewing.
{latest_articles}
This tag includes a list of links to the latest articles on your site.
{poll}
This tag includes a poll into your web pages. This information is configured in the poll management interface.
{news}
This tag includes a list of links to the latest news items on your site.
{counter}
This tag includes a hit counter and user on line display into your web pages.
{banner}
This tag includes banner advertisements into your web pages.
{http_referer}
This tag includes the href info for the refering page.
{request_uri}
This tag includes the href info for the current page.
{date_time}
This tag includes the date and/or time into your web pages. This information is configured in settings.inc.
{meta}
This tag includes meta keywords and meta description into your category and article pages. This information is configured when you add a category or article to the database.
{sig}
This tag includes the site signature into your web pages.