Theme Files

A ProofBuddy theme is built on a series of template files.  The standard extension for these files is .tpl, but .php will work as well. 

Variables

ProofBuddy uses a series of variables to fill in information when displaying a page.  For example, the variable <!--addToCartCategories--> will be replaced with a box for your visitor to enter a quantity, a drop list of all of your pricing items, and an Add to Cart button. 

You'll note that ProofBuddy variables are wrapped in HTML comments.   We did this so that even if a mistake is made in putting in a variable, the only thing your client will see is an empty space. 

Variables are broken down into three basic categories.  Global variables work on any page, page specific variables only work on specific pages, and email variables work only within the email templates.

Most variables are simply replacements like the addToCartCategories example above.  A few take parameters which will be explained with the variable.

Global variables

Global variables are listed here.  Variables that are specific to individual template files will be listed with the information on that page.

Template files

What follows is a list of the template files available to change the design of your theme.  You can do a majority of the customization by only editing a few files, but you can also modify your site as much as you like. 

checkout

checkout_confirm

comment_comment

comment_form

comment_head

empty_album

expired_album

footer

fullimage

galleryfoot

galleryhead

header

imagehead

login

submit_favorites

submit_favorites_thanks

thanks

thanks_paypal

thumbnail

thumbnail_footer

thumbnail_header

user_add

user_add_thanks

user_controlpanel

user_noregister

user_orderhistory

user_orderinfo

user_orderinfo_invalid

user_orderinfo_login

user_password_reset

user_verify

user_verify_fail

Other files

style.css

theme.gif

theme.xml

 

Leave a Reply