Hello,
Lately, I’ve been working in some clients’ websites, in which I needed to change pagination’s behavior. For example, I wanted to show only four pages, then the next page button. As I never had to deal with pagination, I spent quite a long time trying to figure out where all the visual code was. Here, I will tell you where it is and a simple explanation of what some important lines do.
The visual code is located in pagination.html, inside ./styles/{YOURTEMPLATE}/layout/blocks/*
{lang code=’Pages’}, displays the text: “Pages“. If you want not to display the text, simply remove it.
All the code between {if $last_link !=”} and {/if}, can be removed in the case you don’t want to display the last page.
If you would like to change the design and style of the numbers, boxes, etc, edit the CSS class: .pagination, located in ./styles/{YOURTEMPLATE}/theme/main.css
And that’s all! If you need anything else, please let me know, and I’ll be more than glad to assist you.
Best Regards,
Richi
Owner of Juapo2Services.com
Looking for quality ClipBucket hosting? Try out Arvixe and you won’t be disappointed.