PDA

View Full Version : Restricting amount of thumbs shown


xhan104
08-13-2006, 01:57 AM
I'm using version 1.4.3.
on my browse page (http://apricot13.org/index.php?x=browse)

I have the dropdown box and also a thumbnail of every single image I've posted! How do I stop it doing this? If I taka away the <thumbnails> tag it wont display the thumbnails for the category!

if this is fixed in the next version I might have to consider upgrading!

Connie
08-13-2006, 08:03 AM
if this is fixed in the next version I might have to consider upgrading!


First, you should upgrade absolutely!
the version which you use is not secure and you should take care about your website!
So please upgrade, it is really simple and described in the readme-file for the upgrade!


after all these exlamationmarks:

which element do you want to get rid of: the dropdownbox or the thumbnails?

xhan104
08-13-2006, 02:54 PM
great! then I shall definitly be upgrading.

I want to get rid of the thumbnails, but if I get rid of the thumbnails tag then when you click the category in the dropdown no thumbnails show.

Is there a way to paginate the thumbs or something, because loading 300 thumbnails as soon as you click browse can't be healthy for a 56k connection!

Connie
08-13-2006, 03:54 PM
there is an addon, paged-archive

it comes with the 1.5 version

I am sure you missed it until now ;=)

xhan104
08-13-2006, 04:20 PM
yeh, I see it and it works with all the default templates, just not mine! I can't seem to work it out! i've set it to only show 20 thumbs and I've nicked all the tags from the light-archivepaged template!

xhan104
08-13-2006, 04:21 PM
oh, my browse_archive template!!


<html>
<head>
<title>apricot13.org</title>

<script language='javascript' type='text/javascript'>
<!-- BEGIN
function flip(rid)
{
current=(document.getElementById(rid).style.displa y == 'none') ? 'block' : 'none';
document.getElementById(rid).style.display = current;
}
// End -->
</script>
<link rel="stylesheet" type="text/css" href="http://apricot13.org/templates/v7/style.css">
</head>

<body>

<div id="pagewidth" >


<div id="header" > <a class="nav" href="http://apricot13.org">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class="nav" href="index.php?x=about">About</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class="nav" href="<SITE_BROWSELINK>">Browse</a> </div>



<div id="leftcol">
Select a Category to browse images.
<br />
<BROWSE_CATEGORIES><br /><br />
<BROWSE_CHECKBOXLIST>
</div>

<div id="rightcol">
You are browsing the category <b><CATEGORY_OR_DATE_NAME_PAGED_ARCHIVE></b>
&nbsp;<ARCHIVE_PAGES_NUM> --&nbsp; <THUMBNAILS_PAGES_LINKS>
<br />
<THUMBNAILS_WHOLE_PAGED>




</div>



<div id="footer">
All content on this website was created by <a href="mailto:hanREMOVE@apricot13.org">Han</a> unless otherwise stated.
<br />
No portion may be copied or reproduced without my express written permission.
<br />
<SITE_RSS_LINK> <SITE_ATOM_LINK> <ADVNCD_SITE_VISITORNUMBER>
</div>

</div>
</body>

</html>

xhan104
08-13-2006, 05:38 PM
I'm such an idiot! I was linking to <SITE_BROWSELINK> not <LINK_TO_PAGED_ARCHIVE>.

Connie
08-13-2006, 07:32 PM
if you say this, we must not say it ;=)

but I am glad it is ok for you now, we germans have the saying:

you can't see the forest because of the trees ;)