Miva Merchant 4 Module FAQs » Category Page Templates (BROK_CTGYTEMPLATES)


Functionality of the %paging% Token And the Paging Sections of the Template

What does the %paging% token and the Paging sections of the template do?

#1: This version lets you use the token %paging% in the main template area of a template to display the category paging. There are also two new template areas at the very bottom of the template's configuration page. These are the templates for this page, and for the "other pages". The first is used to display the characters for the current page (i.e.. not linked). The second is used for the characters for the other pages (i.e.. linked). These template areas can use the tokens %number% to display the pages as numbers, %smallalpha% to display the page numbers as lower case alphabet, and %largealpha% to display the page numbers as upper case alphabet.

An example of use of this new feature can be seen by simply adding the token %paging% to the top of the Main template area.

A more refined example:

<table cellpadding="2">
<td>Pages: %paging%</td>

to the top of the main template area and for the other "this page" area use:


And for the "other page" area use:


#2: The %paging% token can be used in the main template area to display an "index" to category pages. For example, if your category has 6 pages of products and your customer is currently on page 3 the %paging% token would be replaced with something like:

1 2 [3] 4 5 6

with each number being a "quick link" to that page.

The Category Paging template for "this page" is the template used to replace the number that the customer is currently on. The token %number% is replaced with the page number, the token %smallalpha% is replaced with a lower case letter (i.e. the pages would be lettered a b c d e etc.), and the token %largealpha% is replaced with upper case letter (i.e. A B C D). So by default, this template has the text [%number%] in it and displays as in the above example.

The 'template for "other pages"' is similar and used to display the page "number" for pages the customer is NOT on (i.e. 1, 2, 4, 5, 6 in the above example).

Last update: 2003-07-29 01:26
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category