Forums / Cotonti / Support / Dots (...) appearing in Pagnation

Highly annoying and no idea how to fix this

aiwass
#1 2015-02-18 19:38

Noticed something that is rather annoying in page.list. You can see the annoying ..... (dots) at the bottom of the page where the pagnation is on www.evlear.com/music and the tags used are {LIST_TOP_PAGEPREV}{LIST_TOP_PAGINATION}{LIST_TOP_PAGENEXT}.

They are wrapped in this:

<ul class="pagination">{LIST_TOP_PAGEPREV}{LIST_TOP_PAGINATION}{LIST_TOP_PAGENEXT}</ul>

and the output is this:

<ul class="pagination">
<li><a href="music">&lt;&lt;</a></li>
<li><a href="music?d=9">&lt;</a></li>
<li><a href="music">1</a></li>
<li>...</li>
<li><a href="music?d=5">5</a></li>
<li><a href="music?d=6">6</a></li>
<li><a href="music?d=7">7</a></li>
<li><a href="music?d=8">8</a></li>
<li><a href="music?d=9">9</a></li>
<li class="active"><a href="music?d=10">10</a></li>
<li><a href="music?d=11">11</a></li>
<li><a href="music?d=12">12</a></li>
<li><a href="music?d=13">13</a></li>
<li>...</li>
<li><a href="music?d=50">50</a></li>
<li><a href="music?d=11">&gt;</a></li>
<li><a href="music?d=54">&gt;&gt;</a></li>
</ul>

You can clearly see that there are:

<li>...</li>

embedded at 2 locations, yet all ... (dots) are show in the end of the whole row of pagnation numbers as seen on the image below. Highly annoying!

I'm using the Siena 0.9.18 with Bootstrap v3.3.2. See the issue live here: http://www.evlear.com/music?d=10

Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
Alex300
#2 2015-02-18 19:44

Add this into you /themes/you_theme/you_theme.php file:

$R['link_pagenav_gap'] = '<li class="disabled">...</li>';

or remove dots:

$R['link_pagenav_gap'] = '';

 

Есть миры, не здесь, там, где небеса горят, и моря засыпают, и реки дремлют; люди сделаны из дыма, а города – из песен. Где-то опасность, где-то несправедливость, даже где-то остыл чай. Идем Эйс, у нас много работы!...
...Sorry for my english...
Бесплатные расширения для Cotonti: https://lily-software.com/free-scripts/
aiwass
#3 2015-02-18 20:00

Thank you Alex300. This one worked:
 

$R['link_pagenav_gap'] = '';

but not the other one. So now there are no dots :)

Added 10 hours later:

By the way....
Is there more of these $R things that one can use?

Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
This post was edited by aiwass (2015-02-19 06:28, 9 years ago)