Table of Contents

The ranking page templates are the templates that control the appearance of the pages that ToplistX generates which contain the links to your accounts and that your surfers will be viewing. This document will give you an overview of the custom functions and variables available in each of the directory templates.

Editing Ranking Page Templates

To edit the ranking page templates access the Ranking Pages > Edit Templates function from the control panel menu. This will display a page where you will be able to view and modify your ranking page templates. When you first access the ranking page template editing interface you will see a list of your defined ranking pages. You will need to select one of those pages and then click on the icon to load that template for editing. When you click on the icon the page will reload and you will now see the HTML and template code for this ranking page in a large text input box. There will also be a number of icons displayed across the top of the page, each of which is described below. Search and Replace

ToplistX allows you to make quick changes to your templates in bulk with the Search and Replace function. When you access the Search and Replace function a popup window will appear that will allow you to select the pages that you want to perform this action on, the code to search for in the template, and the replacement code to use. Multiple pages can be selected by holding down the shift or ctrl keys on your keyboard as you click on pages in the selection list. Once you have selected the pages and entered the search and replacement code, press the Search and Replace button to start the task. Once completed a message will appear at the top of the window letting you know how many replacements were made.

Custom Functions

In addition to the standard template functions, the directory templates have several custom functions available which allow you to display your categories and accounts. Each of those custom functions are described here.
Template Variables

The following section will describe all of the available template variables you can use on your ranking page templates