As far as your original question goes, there is no tag specifically to determine if the [-- PrevNext --] tag will result in links.
However if all your pages have the same number in the Products Per Page
pagination settings, then you could put something like this in your
custom page template before your [-- PrevNext --] tag (this example
assumes your Products Per Page setting is 10, if yours is higher or lower
you would add or remove some ELSE_IFs, respectively):
- Code: Select all
[-- IF PAGE.NumProducts 0 --]
[-- ELSE_IF PAGE.NumProducts 1 --]
[-- ELSE_IF PAGE.NumProducts 2 --]
[-- ELSE_IF PAGE.NumProducts 3 --]
[-- ELSE_IF PAGE.NumProducts 4 --]
[-- ELSE_IF PAGE.NumProducts 5 --]
[-- ELSE_IF PAGE.NumProducts 6 --]
[-- ELSE_IF PAGE.NumProducts 7 --]
[-- ELSE_IF PAGE.NumProducts 8 --]
[-- ELSE_IF PAGE.NumProducts 9 --]
[-- ELSE_IF PAGE.NumProducts 10 --]
[-- ELSE --]
Go to page:
[-- END_IF --]
So basically this IF and ELSE_IFs will do nothing as long as the number
of items assigned to the page is 10 or less, but if it is over 10 then it
would fall into the final ELSE and print out the text that you want to
put prior to the PrevNext links.
-Loren