Macik |
|
---|---|
#42302 n0fx: Yes, you can use {PAGE_ROW_NUM}. (Or with direct variable access — {PHP.jj})
Unfortunately, `<p>` wrapper is hard coded in many templates. So to fully change it you need to rearrange whole template. But you can use a little «hackaround» — add wrapper to `$R['link_pagenav_first']` and `$R['link_pagenav_last']` as listed below (… denotes other paging related code): $R['link_pagenav_first'] = '</p><ul class="mypaging">…'; $R['link_pagenav_last'] = '…</ul><p class="paging">'; So final rendered HTML whould be: <p class="paging"></p> <ul class="mypaging"> …you pager code… </ul> <p class="paging"></p> So just add `p.paging{display:none;}` to your CSS to eliminate unnecessary paragraphs. https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F |