|
#1
|
||||
|
||||
|
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 |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
||||
|
||||
|
there is a reason why it is called PAGED archive....
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
I dont understand what your are suggest, I found the output but dont know what to do with that!
|
|
#6
|
||||
|
||||
|
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; } |
|
#7
|
||||
|
||||
|
Quote:
|
|
#8
|
|||
|
|||
|
Question
Hi Dennis I have been trying to make the paged archive show pictures in a descending way when "ALL" pictures are shown but I can't make it work. All the different categories an tags shows in descending as they should. I have it set as sort by date and time /descending in my admin. panel. Can you help me with this?
My website is at http://www.pixelbloggen.se/ |
|
#9
|
|||
|
|||
|
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?! |
|
#10
|
||||
|
||||
|
use single quotes instead of double.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
| Post Reply |
| Thread Tools | |
|
|