Replacing the Pagination Markup

Permalink
I'm trying to replace the default Pagination Markup with my own. Problem is I can't seem to find it's location. Has anybody done this and can tell me where to look and how to override it?

So far I managed to override the styling by telling C5 to not load the related css in my page_theme.php.

$this->providesAsset('css', 'core/frontend/pagination');

jakobfuchs
 
jakobfuchs replied on at Permalink Reply
jakobfuchs
Found my own post while using google ...

Still need a solution for this. To be specific I just want to replace the pagination markup used in my theme. The markup that is used in the C5 backend can and should stay the same.
hutman replied on at Permalink Reply
hutman
What theme are you using?
Can you provide a link to the site so we can see the pagination you are trying to change?
jakobfuchs replied on at Permalink Reply
jakobfuchs
Hi Hutman,

thanks for the reply. I need this for a theme I am developing, it's not available online right now.

I have come as far as to determine that C5 useshttps://github.com/whiteoctober/Pagerfanta... to create the Pagination Markup. Pagerfanta seems to use view templates. Now I need to find out how to create a new template, make C5 aware of its existence AND only use it for the theme frontend since I don't want to mess with the C5 UI.

If anyone has any ideas on that, please let me know.
Steevb replied on at Permalink Reply
Steevb
Do you mean you want to use your own 'pagination.less' file for your theme?

If so, let me know, examples:
http://zinger.55websolutions.uk/...
http://wieldy.55websolutions.uk/...
jakobfuchs replied on at Permalink Reply
jakobfuchs
I figured that part out already (somewhat). See original post.

Basically I want my own markup for the pagination to insert custom classes and custom labels.