Creating your Own Templates
vGalleries Home

vGalleries Overview
File Manager Rules and Regulations
Help Index
Creating Your Own Templates
vGalleries Template Tags
Jakarta XTags library docs

Log in
Help!
If you want to create your own templates, you need to use the vGalleries template tags. These are special tags that provide the vGalleries functionality. You do not need to know any programming to make vGalleries templates, just use standard HTML plus the vGalleries template tags.

There are some special rules you need to follow, however:

Every template must have the following as its first line:

<%@ taglib uri="/ipatags" prefix="ipa"%>

When you create a new template set, vGalleries will automatically create four templates for it:

  • One of type "collection"
  • One of type "home-gallery"
  • Two of type "regular", one called "multi-image", and the other called "single-image"

All galleries and picture have predefine attributes and can have custom variables. Please see the tag documentation for insertGalleryAttribute and insertPictureAttribute to see the lists of predefined attributes.

When you create templates that have custom variables, you can give the variables almost any name you wish, with the following constraints:

  • Do not begin the variable name with "CAPTION_", this is reserved for captions
  • Any variable name ending with "_CHECKBOX" will be treated as a checkbox and will have a value of "TRUE" or "FALSE"

This page was last updated on June 4, 2002