PDA

View Full Version : Paged Archive not working as thought


groovyf
07-04-2006, 07:26 PM
Got PP1.5 installed, and Page-by-page archive set to ON

I'm using dolichocephale's photoblog template, and have got the following in my browse_template.html file:
<div id="catlist"><CATEGORY_LINKS_AS_LIST_PAGED></div>
<div id="catthumbs"><THUMBNAILS_WHOLE_PAGED><p>page <THUMBNAILS_PAGES_LINKS></p></div>

I have 2 pictures in my photoblog, and when I click on 'archive' it's supposed to show 'All' images, and nothing appears.
The page also correctly lists the number of pics in each category, but when clicking on the category no images are shown either.

I've Added the below to my browse_template.html file as well:
<div id="monthlist"><BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED></div>

This correctly shows the images for the month as also shows the thumbnails when clicked.

Any ideas why the categories or 'All' doesn't work? Am I missing something really simple?

Cheers

groovyf
07-05-2006, 09:22 AM
Spent quite some time late last night playing around with this and still not got it working. I tried the hacked paged_archive version (giving details under each thumb). This worked, but didn't seem to allow for pics with 2 or more categories - so that's out of the window for me.

I've reuploaded the "addons" folder (just in case somewhere, somehow files had got corrupted - and specifically the paged_archive file.

I've seen a few people using the same template and have a functional archive page.

If I add <THUMBNAILS> to the browse_template file and comment out the paged_archive code, it works correctly, but this isn't an ideal solution, as I prefer the look of paged_archive.

archive page: http://photoblog.groovyf.co.uk/index.php?x=browse&pagenum=1

GeoS
07-05-2006, 11:15 PM
Did you make complete upload of all files in pixelpost and then in dolichocephale's template?

groovyf
07-06-2006, 12:02 AM
Hi GeoS,
Yes, I did that this morning to make sure and I deleted dolichocephale's template that I had originally uploaded.

I redownloaded, then uploaded pixelpost latest version (overwriting all files except for pixelpost.php), and did the same for dolichocephale's template too (not making any change to any files)
So I had a virgin install of PP and the template, and still no images appearing in All or Category view.

(I've since reuploaded the slightly modified template to allow me to have images 800 pix wide)

What's odd, is I spotted someone else using the same template with exactly the same issue on archive page (not sure he's mentioned it though) : http://www.egosconnesso.net/photoblog/index.php?x=browse&pagenum=1

As a further test, I've changed my template to 'simple' to make sure all was working fine with the Category selections- which it did, then altered its browse_template.html (to eliminate dolichocephale's template from the equation.)

I've changed
<div align="center">
<BROWSE_CATEGORIES>
<br /><br />
<THUMBNAILS>
</div>

to

<div align="center">
<BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED><p>
<CATEGORY_LINKS_AS_LIST_PAGED>
<THUMBNAILS_WHOLE_PAGED><p>page <THUMBNAILS_PAGES_LINKS>
</div>

Please see: http://photoblog.groovyf.co.uk/index.php?x=browse
Still the same, no images when selecting categories or 'All' (in category and monthly section)
If you click the category assigned to a picture from the main page, it also shows no images.

Trying to give as much detail as I can. Have also noted that in the Addons page in PP Admin pages, it shows "Page-By-Page-Archive for category and month (for PP v1.4)". I assume 1.4 is the correct version even though it was the one included in the latest PP download?

Have even gone as far as using phpmyadmin to check the database to make sure images were being assigned categories correctly!