PDA

View Full Version : Can't get browse page to show paged thumbnails


AndrewK
12-31-2007, 03:08 PM
Help!

Problem: I cannot get my browse page (http://www.kantor.com/pixels/index.php?x=browse) to show only a handful of thumbnails. It always shows every image in my album.

I'm using PP 1.7RC, with a template I created myself and the paged_archive addon. My browse_template.html code includes this line:


<div id="thumbs">
<THUMBNAILS_WHOLE_PAGED>
</div>


The thumbnails do appear, but they aren't paged -- I see all 20+ images.

When I go to the Addons panel and try to update the maximum number of thumbnails in each page (default 100), I get this error:

Not Found
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So I went into the paged_archive.php file and manually changed the default from 100 to 8. The "8" showed up on the add-ons page, but I am still getting 20+ images on the browse page.

Next I switched templates to "simple." Same problem -- all the images appear.

Any idea what I'm doing wrong that I can't get paged archives on my browse page?

Many thanks for any help!

Andrew

dhdesign
12-31-2007, 04:22 PM
You are hitting the URL for the browse page that will always show all of your thumbs.

In your site navigation, you need to change the link for the browse page to use this tag: <LINK_TO_PAGED_ARCHIVE>. That will make the url show up as index.php?x=browse&pagenum=1 rather than just index.php?x=browse

Currently, the simple template uses this tag (<SITE_BROWSELINK>) as the link for the browse page. You'll need to change that tag on each of the _template.html files that you are using in the template of your choice.

You will also need to add <THUMBNAILS_PAGES_LINKS> at the bottom of the browse_template.html file so that the page numbers will show up to navigate your archive.

Hope this helps!

AndrewK
12-31-2007, 05:23 PM
Yes, it helps! But... I still can't change the number of thumbnails displayed; I get that error message "The requested URL /index.php was not found on this server."

Any suggestions?

Thanks!