PDA

View Full Version : How do I add the paged archive/calendar to my site?


David-Lightman
02-14-2007, 07:39 AM
My site is working fine and based on the simple template, but soon I will want to have extra pages due to the number of photos. However I can find very little information about how I add the archive facility, I have the tags but have no idea what to do next.

My current site is here: slackerpedia.com (http://www.slackerpedia.com/pixelpost/index.php)

Is there a guide anywhere detailing how to add this facility to a site?

Thanks in advance for your help!

austriaka
02-14-2007, 08:44 AM
have a look at the Page-By-Page-Archive addon, it sould have come together with your pixelpost installation.
There are a few new tags to use, it is explained in the Addons page in Admin panel.
Just replace the "old" Tags in browse template by the "paged" ones.
There is also a Tag for the link to paged archive for use in image template

KArin

David-Lightman
02-14-2007, 09:57 AM
have a look at the Page-By-Page-Archive addon, it sould have come together with your pixelpost installation.
There are a few new tags to use, it is explained in the Addons page in Admin panel.
Just replace the "old" Tags in browse template by the "paged" ones.
There is also a Tag for the link to paged archive for use in image template

KArin

Thank you so much for your help. I am now able to choose a month and show thumbnails from only that month. However, how do I limit my thumbnail page to say, 30 photos per page? I added the code to go to the next page number but nothing is there as all 57 photos are still shown on the main page. Thanks in advance.

David-Lightman
02-14-2007, 10:27 AM
Just to clarify, I'd like my 'browse' page to show about 40 photos instead of all of them, with links to the other pages displayed.

austriaka
02-14-2007, 11:07 AM
you can set the number of thumbs shown per page in addons page/paged archive of admin panel

David-Lightman
02-14-2007, 11:17 AM
you can set the number of thumbs shown per page in addons page/paged archive of admin panel

I have set that number at 20 but it has no effect on my site, it still always displays everything. I will carry on playing with it...

David-Lightman
02-14-2007, 11:29 AM
OK I have it working displaying only 20 images, and I can click on page 1 2 or 3. But if I click on next or previous instead of a page number I get a page with no images on it. Is this a bug do you know?

austriaka
02-14-2007, 12:55 PM
it is a bug, use this one:
http://www.jdleungs.com/download/page_archive.zip

David-Lightman
02-14-2007, 01:13 PM
Thank you so much, I will try that version.

David-Lightman
02-14-2007, 01:30 PM
It works!! Fantastic stuff, thanks so much for your help :)