Pagination Template issue
I'm trying to modify the pagination template (pagination.html5), however, it doesn't contain the code I want to modify.
It breaks out the First, Previous, Next and Last button code, but for the actual page links, it just references " <?php echo $this->items; ?>"
Where can I edit this? I want to add some classes to the "li" and "a" portions.
Thank you.
Re: Pagination Template issue
I think you should use CSS...
You can find something here:
http://www.contao-factory.com/code-detail.html?id=1
which help me to sort out some issues I had with pagination.
Re: Pagination Template issue
If CSS alone is not sufficient for your needs -- I ran into this before, where I wanted to actually change the HTML of the pagination links. Unfortunately it's hard-coded into the Pagination module.
I ended up doing a preg_replace on $this->items to get what I wanted. :)