<%tloop section%> <%tlv meta_title%> ABC CMS Pro
site_module_sample02.html
A sample of all tags from Site module application.
Switch on the template site_module_sample02.html in all sections created at the admin panel.
You should create sections and pages beforewards in order to have a sample output.
You can make experiments with any CMS tags for posting information to your web site Important. Numbers used in CMS tags (e.g. tloop custom_section_1) are the ID numbers of your sections and pages. These numbers can be viewed from the administrative panel in lists of sections and pages in the left column. For a quickstart use Section ID and Page ID shown in the samples. Yet you may input your own ID numbers.

Site header
Titles of all sections and menu items are posted auomatically

<%tloop menu%> <%tlv name%>
<%tloop pages%> <%tlv name%>
<%tendloop pages%>
<%tendloop menu%>
Posting all menu items from a section without displaying the title of the section

<%tloop menu%> <%tloop pages%> <%tlv name%>
<%tendloop pages%>
<%tendloop menu%>
Posting menu in every section separatele with Section ID pointed out

<%tloop custom_section_1%> <%tlv name%>
<%tloop pages%> <%tlv name%>
<%tendloop pages%> <%tendloop custom_section_1%>

<%tloop custom_section_2%> <%tlv name%>
<%tloop pages%> <%tlv name%>
<%tendloop pages%> <%tendloop custom_section_2%>


You can post summaries of all pages from all sections. Short text (chars number from admin panel).

<%tloop custom_section_1%> <%tloop pages%> <%tlv short_text%>
<%tendloop pages%> <%tendloop custom_section_1%>
<%tloop custom_section_2%> <%tloop pages%> <%tlv short_text%>
<%tendloop pages%> <%tendloop custom_section_2%>
<%tloop custom_section_3%> <%tloop pages%> <%tlv short_text%>
<%tendloop pages%> <%tendloop custom_section_3%>
Posting a page's content upon clicking on a menu link

<%tloop page%> <%tlv text%> <%tendloop page%>
Posting system information about a page (if it's necessary)
<%tloop page%>
Page id <%tlv n%>
Page section id <%tlv sn%>
Page name <%tlv name%>
Page description <%tlv description%>
Page activity <%tlv active%>
Page link <%tlv link%>
Page design image <%tlv image%> <%tendloop page%>

A section with menu can be posted to any location at your site

<%tloop custom_section_3%> <%tlv name%>
<%tloop pages%> <%tlv name%>
<%tendloop pages%> <%tendloop custom_section_3%>
A sample of link redirection to another URL. Link is set at the admin panel while creating a page

<%tloop custom_section_4%> <%tlv name%>
<%tloop pages%> <%tlv name%>
<%tendloop pages%> <%tendloop custom_section_4%>
Site footer


Posting data about a section ( for Section ID=1) <%tloop custom_section_1%>
Section id: <%tlv n%>
Section name: <%tlv name%>
Section description: <%tlv description%>
Section activity: <%tlv active%>
Section meta keywords: <%tlv meta_keywords%>
Section meta description: <%tlv meta_description%>
Section meta title: <%tlv meta_title%>
Section link: <%tlv link%> <%tendloop custom_section_1%>

Additional tags used in ABC CMS Pro
Current year: <%tv current_year%>
Current month: <%tv current_month%>
Current day of month: <%tv current_day%>
Current hour: <%tv current_hour%>
Current minute: <%tv current_min%>
Current second: <%tv current_sec%>

<%tendloop section%>