[英]How to customize joomla default Pagination HTML
I have joomla module that prints the pagination in page. 我有joomla模块在页面中打印分页。 I've used
我用过
$pagination = new JPagination($total, $p_start, 2);
echo $pagination->getPagesLinks();
echo $pagination->getPagesCounter();
and it will correctly print the pagination. 它会正确打印分页。 But I want to change that printing
HTML
to match my design. 但我想改变打印
HTML
以符合我的设计。 Default design is just ul
li
tags. 默认设计只是
ul
li
标签。 How do I change that without editing core library files? 如何在不编辑核心库文件的情况下进行更改? I'm using
joomla 2.5
我正在使用
joomla 2.5
Thanks. 谢谢。
您需要在模板中覆盖分页类,请查看此链接以获取更多信息: http : //docs.joomla.org/Understanding_Output_Overrides#Pagination_Links_Overrides
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.