Evo Tags are the unique elements that will add content and functionality to your web pages. You can insert Evo Tags anywhere in your template or document's content where you want the tag's content or functionality to appear.
In the template basics article, we saw a very basic template that didn't do much. Let's add a few Evo Tags to it and see it come alive.
Internal Evo Tags
This document will focus on using internal Evo Tags. For more specific information on these tags, see the section "Evo Tags".
To begin with, we can personalize the page's title with our site's name and the name of the page:
<title>[(site_name)] - [*pagetitle*]</title>
These tags in the head of your template will display something like "Evo Content Management System - Adding Evo Tags" in the title bar of the browser.
The "site_name" is taken from the name that was configured for your site in the System Configuration menu (Tools => Configuration: Site Tab => Site Name). The "pagetitle" is the Title you gave the document when you created it.
The next thing we want to do is have the document's content appear in the main part of our page. Add the
tag where the content should appear:
<div id="content"> <h1>[*longtitle*]</h1> [*content*] </div>
You will also see that the "longtitle" was added before the "content", so every page will have a customized subheading. The "longtitle" is taken from the "Long title" field when you created the document. The "content" is the text you entered in the Document content editor (Resource content) when you created the document.
And finally, in the footer, you may want to have your site's name and email address:
<div id="footer">Copyright © <a href="mailto:[(emailsender)]">[(site_name)]</a> 2005</div>
Site Name: Tools => Configuration: Site Tab => Site Name
Email: Tools => Configuration: Site Tab => E-mail address
Both of these values are taken from the database and were set in the System Configuration menu.
Suggest an edit to this page.