Pure Software Knowledge Base Glossary    Contact Us
 
   
Browse by Category
Pure Software Knowledge Base > Lore > Styles/Templates > List of templates

List of templates

This document contains a list of templates and what they are used to display in Lore.

Complete Templates

These templates are used to render entire pages in your knowledge base.

index.tpl

The front page of your knowledge base

article.tpl

Used when viewing an article. Contains all of the article content, the options
to the right of the article, the related articles, and comments.

category.tpl

Used when displaying a category and its subcategories

comment.tpl

Used to display the comment posting form.

article_print.tpl

Used to display the printer-friendly version of an article.

contact.tpl

Used to display the contact form.

email_article.tpl

Used to display the email article form.

search_results.tpl

Used to display search results.

message_redirect.tpl

Used to display a one of the messages listed below with an HTTP redirect.

error_message.tpl

Used to display one of the error messages listed below.

Template Components

These templates are re-used throughout the site and are called from within other templates. They are not complete templates and are not displayed by themselves.

html_header.tpl

Basic HTML header, including the title and meta information

html_footer.tpl

Basic HTML footer, containing ending tags.

header.tpl

Contains global elements displayed at the top of most pages on your knowledge base.

footer.tpl

Contains global elements displayed at the bottom of most pages on your knowledge base.

articles.tpl

Used to display the listing of articles on the front page and within categories.

articles_short.tpl

Used to display the listing of articles within pages, such as for the top articles on the front page as well as the related articles displayed at the bottom of the article page.

categories.tpl

Used to display the listing of categories or subcategories on the front page as well as category pages.

comments.tpl

Used to display the list of comments on an article.

Messages

These templates contain messages displayed in various parts of the interface. These are not complete templates but are included in message_redirect.tpl

msg_comment_added.tpl

Message displayed when a comment is added to an article.

msg_email_sent.tpl

Message displayed when an article is emailed.

msg_inquiry_sent.tpl

Message displayed when an inquiry is sent through the contact form.

msg_rating_added.tpl

Message displayed when an article is rated.

Error Messages

These templates contain error messages. They are not complete templates but are included in error_message.tpl or db_error.tpl

err_already_rated_article.tpl

Error displayed when a user attempts to rate an article twice.

err_article_not_published.tpl

Error displayed when a user attempts to read an unpublished article.

err_cannot_email_article.tpl

Error displayed when a user attempts to compromise the "email article" feature.

err_cannot_post_comment.tpl

Error displayed when a user tries to post a comment on an article that does not allow comments.

err_category_not_published.tpl

Error displayed when a user tries to view an unpublished category.

err_db_connect.tpl

Error displayed when a connection to the database cannot be made.

err_db_query.tpl

Error displayed when a database query fails.

err_db_select.tpl

Error displayed when the database cannot be selected.

err_invalid_article.tpl

Error displayed when an invalid article id is specified.

err_invalid_attachment.tpl

Error displayed when an invalid attachment id is specified.

err_invalid_category.tpl

Error displayed when an invalid category id is specified.

err_invalid_rating.tpl

Error displayed when a user tries to rate an article with a rating not between 1 and 5.

err_no_gzhandler.tpl

Error displayed when GZIP compression is enabled but the required PHP extensions are not present.

err_no_ob.tpl

Error displayed when GZIP compression is enabled but the required PHP output buffering extension is not present.

 


How helpful was this article to you?

Related Articles

Complete Feature List
Unlimited categoriesUnlimited subcategory depthUnlimited...

 

User Comments

No comments have been posted.


powered by Lore