![]() |
paged archives
Is there a way to hack or modified the addon paged archive to instead of having numbers of page to show only next and previous if there some more page?
Thanks |
I think the easiest way would be to add a class name to all the links for the page numbers - then you can just hide them with css. In looking at the addon, I think it starts around line 453 and outputs the variable $pagecounter for the text link.
|
there is a reason why it is called PAGED archive....
|
Quote:
Lol, of course but can when have paged archive without the number showing, just to have the next page or previous page if there some page to show. I will check kevincrafts's suggestion |
Quote:
|
On each line that outputs a page number, you need to change the output to also output a class name associated with the tag, such as: <a href="index.php?x=browse&pagenum=1" class="pagenumber">$pagenumber</a>
then in your css file you can set .pagenumber { display:none; } |
Quote:
|
Question
Quote:
My website is at http://www.pixelbloggen.se/ |
Hi, fredxeric (or anyone else!!) Please can you help me with this mod.
I have tried to change the paged archive file as suggested above, but what ever I do my local site seems to totally break. (nothing is displayed at all) I have changed all the $pagecounter link tags to as below from lines 453 to 501 adding the class="pagenumber" but this seems to screw things up. What am I doing wrong? PHP Code:
Thanks Duncan Ps I would love to see this mod featured in main addon so we can have just prev/next links or full page counter links or both (which is what i want!) Any chances of that pixelposters?! |
use single quotes instead of double.
|
| All times are GMT. The time now is 07:03 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.