Template Guidelines
REQUIRED FILES
index.tpl
This is the main frame of your entire template. Everything from the start of the HTML document should start and end here.
posts.tpl
This template file will display the post page when a viewer is viewing a single post.
items/categories.tpl
This template file will display the category items (repetitive) when viewing the a category page.
items/comments.tpl
This template file will display the comment items (repetitive) when viewing a member's profile or comment page.
items/posts.tpl
This template file will display the post items (repetitive) when viewing a page that are displaying posts.
members/edit-profile.tpl
This template file will display the members edit profile form.
members/forgot-password.tpl
This template file will display the members forgot password form.
members/login.tpl
This template file will display the members login form.
members/register.tpl
This template file will display the members registration form.
members/my-account.tpl
This template file will display the members my account form
members/notifications-comments.tpl
This template file will display the members comment notifications items (repetitive).
members/notifications-friends.tpl
This template file will display the members friend notifications items (repetitive).
REFERENCE VARIABLES
TEMPLATE_DIR
Returns the page's template directory. This is useful for referencing images, links, and files.
MENU VARIABLES
MENU_PAGES
Returns the links of all the pages.
MENU_POST_ARCHIVES
Returns the links of all the archived posts.
MENU_MEMBERS
Returns the links of all the member controls.
PAGE VARIABLES
PAGE_TITLE
Returns the current page's title.
PAGE_META_KEYWORDS
Returns the current page's meta keywords.
PAGE_META_DESCRIPTION
Returns the current page's meta description.
PAGE_CONTENT
Return the current page's content.
POST VARIABLES (posts.tpl, items/posts.tpl)
POST_TITLE
Returns the post's title.
POST_AUTHOR
Returns the post's author name.
POST_DATE
Returns the post's date.
POST_TAGS
Returns the post's tags.
POST_CONTENT
Return the post's content.
CATEGORIES VARIABLES (items/categories.tpl)
CATEGORY_URL
Returns the category's URL.
CATEGORY_TITLE
Returns the category's title.
MEMBER VARIABLES (members.tpl)
MEMBERS_ID
Returns the member's id.
MEMBERS_USERNAME
Returns the member's username.
MEMBERS_PHOTO
Returns the member's photo as an image tag.
MEMBERS_FRIENDS
Returns the member's friends list.
MEMBERS_COMMENTS
Returns the member's comment lists.
COMMENTS VARIABLES (items/comments.tpl)
COMMENT_ID
Returns the comment's id.
COMMENT_DATE
Return the date of the comment.
COMMENT_CONTENT
Returns the content of the comment.
COMMENT_CONTROLS
Returns the user controls of each individual comment.
COMMENT_SENDER_ID
Returns the sender's id.
COMMENT_SENDER_PHOTO
Returns the sender's photo url.
COMMENT_SENDER_USERNAME
Returns the sender's username.
COMMENT_RECEIVER_ID
Returns the receiver's id.
COMMENT_RECEIVER_PHOTO
Returns the receiver's photo url.
COMMENT_RECEIVER_USERNAME
Returns the receiver's username.
MODULES VARIABLES
MODULE_1 to MODULE_10
You can have up to 10 module groups. The template tag must begin with "MODULE_" and and with a number from 1 to 10. You cannot have the same module group number listed more than once.
MODULE_CSS
Returns the module css header tags
ADMINISTRATIVE VARIABLES
ADMIN_MENU
Returns the admin navigation menu
ADMIN_CSS
Returns the admin css header tags
ADMIN_JS
Returns the admin javascript header tags
