Getting Started Website Settings Pages & Sub-Pages



Place holders list

Our current placeholders (template variables) list is located below. Placeholders allow static template designs to be used to generate dynamic websites. (Example, the “site name” placeholder will parse the name of the site.)

General Placeholder rules (Smileys are exceptions to these rules)

  • Placeholders always begin and end with brackets. { and }
  • Placeholders are always one word, or several words connected with underscores.
  • There is no required amount of placeholders in a template, but it is recommended that all be used.
Important Note: For listings below, we have added a star (*) between placeholder text and the closing brackets. This is to prevent the server from parsing these variables. Do not use stars when designing templates!

{page_name*}
Page Name- Entered by user when new page is created.
{page_description*}
page description - display the page description entered during page/sub-page creation
{content*}
Page Content -The content portion of a website. (This text you are reading now)
{domain*}
Domain Name- Entered in 2MExpress account settings. Currently this value is:Help.2MExpress.com
{logo*}
Website Logo  -(32 pixel width). To use it, upload any file called "logo.gif" or "logo.jpg" with 2MExpress Objects (2MX icon) and it will appear for this place holder. If no image is found by the sever, a logo will not appear.
{site_name*}
Site Name -Entered in 2MExpress account settings. Currently this value is:2MExpress Help
{copy_right*}
Copyright Note- This variable is usually placed in the footer of the template. This variable will also appear in the footer of the print-friendly view. Currently this value is:Copyright © 2005 2MExpress, a division of 2MHost.com. Web Hosting by 2mHost.com
{slogan*}
Website Slogan -Entered in 2MExpress account settings. Currently this value is:The better way!
{date*}
Current Date -(Generated by server)
{last_modification*}
Modification Date -Displays the date and time of last modification to page content.
{search*}
Search- Displays standard search box and "find" button.
{v_nav*}
Vertical Tree Menu -Displays vertical navigation tree (pages+sub pages).
{v_mainnav*}
Vertical  Menu - display main pages links only
{v_subnav*}
Vertical Menu - display sub pages links only
{h_nav*}
Horizontal Navigation -Horizontal navigation bar (Main pages only).
{h_subnav*}
Sub Pages Horizontal Navigation -Displays sub pages only.
{menu_nav*}
Dropdown Navigation -Displays main pages or sub pages.
:*), :*(,..
Smileys- Will be converted to images. (This variable works anywhere -- including menus)
{edit*}
Edit Icon- Displays icon that allows users to login and edit content.
{email*}
Email to friend- Displays icon that allows users to email page links.
{favorites*}
Add Page to Favorites -Displays icon that allows users to add pages to browser favorites/bookmarks.
{print*}
Print view- Displays "printer friendly view" icon.
Additional placeholders for developers:
{template*}
Current template name-  (Example: default, etc. 
{page_group*}
Current page group.
{page_id*}
Current page ID.
{parent_name*}
Parent Page name- work in sub pages only and display the page name {page_name*} of main page that contain this sub page
 

Notes regarding Page_Group and Page_ID

Page group and Page id variables can be used to create custom templates for specific groups of pages. Once such use is by using this variable inside image names. (Example, upload “contentimage{page_group*}.jpeg”) Then upload several images for different page groups, and include the page group in their name. (contentimagenews.jpeg, if the page group was news.)
 
For More details about this option, please check this tutorial.
 


Last update: 04/02/06 15:01:00
Copyright © 2005 2MExpress, a division of 2MHost.com. Web Hosting by 2mHost.com