View Full Version : archive question
cbtoday
01-17-2006, 11:36 PM
In the browse page, I am using <THUMBNAILS_WHOLE_PAGED> tag, can I know is there anyway to set the maximum number of thumbnails in the archive page, and then have the previous archives link to the last fixed number of thumbnails?
THanks.
cbtoday
01-20-2006, 06:11 AM
I have tried to go to the addon page in admin, and change the maximum number of thumbs per archived page, but it is still the same.
Anyone? Please help.:(
Glovebox
01-20-2006, 08:43 AM
Ah yes! I'd be interested in some guidance on the maximum thumbnails thing too, my archive is getting a bit out of control (134 images).
Cheers,
Simon
Doodleblog (http://www.doodleblog.co.uk)
Never more than two metres from a doodle...
Maybe you can use one of the browse-addons?
cbtoday
01-24-2006, 09:15 PM
I downloaded the latest page by page archive and set the max number of thumbnails in each archive page to 49, but it displays more than that. Glovebox, did you manage to make it work?
Thanks.
cbtoday
01-26-2006, 09:40 PM
can anyone help? Thanks.
You can only controll it by managing div layer width and height.
I remember that I was playing with this addon looking for count controll. Ill check if I done it.
Here we come :)
Link to file:
http://geos.wzzone.com/projects/paged_archive.rar
cbtoday
01-30-2006, 04:43 PM
Thanks, do you have the file in .zip format, I have problems trying to open it...
Here you go:
http://geos.wzzone.com/projects/paged_archive.zip
I found a couple of bugs to this addon - who is the best person to pass on my code that fixes the problem to?
The bug is: if you just use the updated template tags and visit the page for example http://photoblog.shrinkpictures.com/index.php?x=browse you get the thumbs for ALL of the archive by default, with my fix, the archive is paged by default - and the preferred option for me at least.
To that end, I modified the addon to actually, by default, page the archive as per the config you set in the admin page. It is pretty simple and only 1 new line of code and modify 2 existing lines.
cbtoday
02-13-2006, 12:39 AM
ok, I unzip the file and replace it with my paged archive add on, and I don't see any different. I set max thumb number to 49 in my admin page. Am I missing something?
Probably yes. Go to addons section and there set number of photos per page (at Page-By-Page addon section).
cbtoday
02-14-2006, 03:14 AM
I have set the max number to 49 in admin page, and click update, but it's still the same. :confused:
In admin: options -> thumbnails -> THUMBNAILROW or in addons -> Page-By-Page-Archive ....??
If at first that means you didnt read what I wrote to you post before but if second then all should work OK.
cbtoday... in your Browse_template.html change
<THUMBNAILS>
to
<THUMBNAILS_PAGES_LINKS><br><br><THUMBNAILS_WHOLE_PAGED>
and it will work.
and make your "Archive" or "Browse" link (whatever you call it in your menu) in all your template files:
<LINK_TO_PAGED_ARCHIVE>
cbtoday
02-16-2006, 07:03 AM
I think I have done everything right. This is a snapshot of my setting, and this is my code.
http://flickr.com/photos/55992561@N00/100359372/
<table border="0" bgcolor="#ffffff" cellpadding="0" cellspacing="1" width="780" >
<tr>
<td align="left" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" height="533" valign="top">
<table bgcolor="#ffffff" width="780" border="0" align="center" cellspacing="0" padding="4" >
<tr valign="top">
<td width="780" height="500" valign="top">
<div id="image">
<div id="image-browse"><br /><br>
<h4><b> Total [<SITE_PHOTONUMBER>] </b></h4><br>
<BROWSE_CATEGORIES> <BROWSE_MONTHLY_ARCHIVE_PAGED><br><br><br>
<div align="left"><div id="thumbrow2"><THUMBNAILS_WHOLE_PAGED></div>
</td>
</tr>
</table>
cbtoday
02-16-2006, 07:03 AM
And I still not getting the 49 thumbnails per page.
And where we can see it "live"?
cbtoday
02-16-2006, 08:06 PM
http://todayistoday.com/index.php?x=browse
Dkozikowski
02-16-2006, 09:03 PM
and make your "Archive" or "Browse" link (whatever you call it in your menu) in all your template files:
<LINK_TO_PAGED_ARCHIVE>
You need to do this.
in image_template.html change
<a href="http://todayistoday.com/index.php?x=browse"> to <LINK_TO_PAGED_ARCHIVE>
in browse_template.html change
<a href="http://todayistoday.com/index.php?x=browse"> to <LINK_TO_PAGED_ARCHIVE>
and so on. Wherever you have a link to your browse/archive page, you need to change the code.
http://todayistoday.com/index.php?x=browse&pagenum=1
Click on the link above, it shows 49 images.
http://todayistoday.com/index.php?x=browse&pagenum=2
The link above is page 2, it shows the remainder of your photos
cbtoday
02-16-2006, 10:01 PM
I see, I tried that and it worked. Thanks. However, if I changed to <LINK_TO_PAGED_ARCHIVE>, it will output an 'archive' word link, instead of using the jpg link button I used. Any way to make it not output that archive word?
cbtoday
02-17-2006, 06:11 AM
it's ok, I figured it out. thanks.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.