Templates
Previous  Next


Templates are used to determine the layout par gallery for the exports.
You can add or edit templates in the directory '[TGM directory]/custom/templates/galleries/'.
Templates should have the extension '.tpl'.

TGM supports the following codes:


%TGM_PREFIX%

The prefix you have defined in the settings menu. (trading script prefix)

%TGM_GALLERY_URL%

The url of the gallery generated by TGM.

%TGM_GALLERY_TITLE%

The title of the gallery generated by TGM.

%TGM_GALLERY_DESCRIPTION%

The description of the gallery generated by TGM.

A valid template for eg. is:-

<a href="%TGM_PREFIX%%TGM_GALLERY_URL%">%TGM_GALLERY_TITLE%</a><br />