PDA

View Full Version : Thumb pages in archives; help!


bite me!
04-05-2005, 08:57 PM
Hi there,

I want to make thumb pages in the archives. Right here (http://www.pixelpost.org/forum/viewtopic.php?t=378&highlight=maximal+thumbs+archi ve) I found something, but it really doesn't make any sense to me. Do I have to add this to index.php? Or do I have to make a new .php file? What's the exact code I have to use? The whole code is spread over 4 forum-pages... really doesn't make sense to me...

Please help me, otherwise I can't sleep tonight... :?

raminia
04-06-2005, 05:05 AM
- download the addon from the main page. it is documented there. the forum is for discussion.(from the top right of the main page there is a link to addons)
- the addon is a file that you should copy it into the addon folder of pp
- this addon gives you several new tags. you can use them in the template. no need to hack the php file!

bite me!
04-06-2005, 05:45 AM
thanx so much raminia! Tonight I can go thrue with this :-D

You're the best :lol:

GeoS
04-06-2005, 06:30 AM
Other way is to remake about template from pixelpost-light (browse_template.html) :)

bite me!
04-06-2005, 04:56 PM
Hey Raminia,

I downloaded this one: Modified PAGED_ARCHIVE addon, uploaded the 2 files into the addons folder.
then I'm stuck... there's no readme file and I'm not that smart to figure it out by myself... could you help me further??

grtz, Hanneke

raminia
04-06-2005, 04:59 PM
I'm going to dinner I'll tell you after that;)

bite me!
04-06-2005, 05:00 PM
have a nice dinner, and thank you so much!!

raminia
04-06-2005, 05:11 PM
I write it Before dinner;)

To use page-by-page archive (paged_archive.php)
0- Make sure that which version of Pixelpost you are using.
1- Download the addon from pp site. If you use pixelpost v1.3 this will work for you. If you use Pixelpost v1.3 with multicategory modification THIS WON'T WORK THEN. There is a newer version of the addon which is inside the v1.4 that will work with Pixelpost v1.3 with multi-category mod. PM me if you want that.
2- Copy the one file, paged_archive.php, into the addon folder of pixelpost using an FTP program.
3- Edit your browse_template.html file in the template folder and add these new tags to it. I commented each tag to clarify its behavior.

NEW TAGS ARE:

<CATEGORY_LINKS_AS_LIST> // Category links as a text list for default PP's archive page
<CATEGORY_LINKS_AS_LIST_PAGED> // Category links as a text list for page-by-page archive
<BROWSE_MONTHLY_ARCHIVE_PAGED> // Monthly drop box for default PP's archive page
<BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED> // Monthly links as a text list for page-by-page archive
<BROWSE_CATEGORIES_PAGED> // Category drop box for page-by-page archive
<THUMBNAILS_WHOLE_PAGED> // Thumbnails in this page
<THUMBNAILS_PAGES_LINKS> // Link to the pages of thumbnail in the selected category
<ARCHIVE_PAGES_NUM> // Page number you are viewing
<CATEGORY_OR_DATE_NAME_PAGED_ARCHIVE> // Name of the category or Month you select

raminia
04-06-2005, 05:33 PM
4- use this as a link in the image template instead of default

<a href="index.php?x=browse&pagenum=1">Browse Archive</a>

bite me!
04-06-2005, 05:46 PM
I'm sorry, I think you gave me the wrong tags...

I downloaded Modified PAGED_ARCHIVE addon, the one with the info at the bottom of the thumbnail (the one with the .jpg screenshot)

raminia
04-06-2005, 05:51 PM
no i didn't

raminia
04-06-2005, 05:52 PM
houm...
I did!:))
sorry I dont' have a clue how the code is changed in the modified version.

bite me!
04-06-2005, 05:55 PM
sorry I dont' have a clue how the code is changed in the modified version.

what do you mean?

raminia
04-06-2005, 06:00 PM
I wrote the original version not the modified version! the original version is also available in the addon seciton.
I'm Ramin Mehran.

bite me!
04-06-2005, 06:05 PM
ok, I'll try some things out...

bite me!
04-06-2005, 06:13 PM
joehoeeeee!!! :lol: :lol: :lol:

I did it.

Thanx a lot Raminia, you helped me out :-D

raminia
04-06-2005, 06:21 PM
I'm glad that it worked:)
What was the problem?

bite me!
04-06-2005, 06:22 PM
I didn't use the right tags... :oops:

right now I have to change the templates and I'm done :-D

bite me!
04-06-2005, 06:54 PM
allright, almost done.

the only thing that doesn't work is the "filter" when hovering thumbs

this is the code in the browse_template:

#browsethumbs a:hover img, #browsethumbs a:focus img {
border: 1px solid #666666;
filter: alpha(opacity=70);
opacity: 0.70;
padding: 4px;
}


is there something I have to add?

raminia
04-06-2005, 08:34 PM
maybe that's due to some CSS validation problem of that version of paged archive.