PDA

View Full Version : Disable EXIF Data / Page-By-Page-Archive


Bass-T.
12-26-2006, 11:48 AM
Hi, im using Pixelpost 1.5 with the simple template und want to disable the exiufdate bellow the pictures. Is that possible? How?

Second thing: I want to install an Page-By-Page-Archive for my archive cartegories with e.g. 42 pictures at one side. This addon is already listet at "addons" in my version. But it works only with pp ver. 1.4. Is there an addon for 1.5?

DikkieBurger
12-26-2006, 11:56 AM
You have to deletre all the <EXIF_...> tags from your image_template.html file.

For the pagebypage archive addon you have to put the tags for this addon in browse_template.html.

Pixelpost works with templates, you have tell where an addon has to come in the template, else it won't show up.

Dennis
12-26-2006, 01:24 PM
The new version will have an option for it. The old version requires the deletion of all exif related tags as mentioned by DikkieBurger.

GeoS
12-26-2006, 08:45 PM
Page-By-Page-Archive works fine with PP 1.4 and 1.5

Bass-T.
12-26-2006, 09:45 PM
For the pagebypage archive addon you have to put the tags for this addon in browse_template.html.

I have this tags bellow that addon in the admin:

<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
<LINK_TO_PAGED_ARCHIVE> // Link to Paged-by-page archive page

Which tags shell i put where in the browse_template.html to enable the page-by-page archive? And i want to place there the monthly archive too bellow the categories archive in the same size. Actually i have only the categories.

DikkieBurger
12-27-2006, 11:02 AM
<CATEGORY_LINKS_AS_LIST_PAGED> and <BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED>

Bass-T.
12-27-2006, 07:55 PM
<CATEGORY_LINKS_AS_LIST_PAGED> and <BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED>
If i do this

http://muenchen-surf.de/bass-t/bilder/di1.jpg

the archive looks like as seen in the screen bellow. And: All the 270 pictures are listet bellow that text links. Not only a piece of success. What have i done wrong?

http://muenchen-surf.de/bass-t/bilder/di2.jpg

All i want is to have bellow that button

http://muenchen-surf.de/bass-t/bilder/di3.jpg

a monthly archive button at the same size and 42 pictures at one page. How do i do that?

Dennis
12-27-2006, 08:45 PM
<BROWSE_MONTHLY_ARCHIVE_PAGED> // Monthly drop box for default PP's archive page
<BROWSE_CATEGORIES_PAGED> // Category drop box for page-by-page archive

Those will show a dropdown box

Bass-T.
12-27-2006, 08:56 PM
<BROWSE_MONTHLY_ARCHIVE_PAGED> // Monthly drop box for default PP's archive page
<BROWSE_CATEGORIES_PAGED> // Category drop box for page-by-page archive

Those will show a dropdown box
I use pictures, so you can say me what is wrong. I tried that:

http://muenchen-surf.de/bass-t/bilder/di4.jpg

The result is that:

http://muenchen-surf.de/bass-t/bilder/di5.jpg

All the 270 pictures are still listet bellow that two dropdown boxes. No sign of a page-by-page. And: I want to have the monthly dropdown box bellow the categorie box. That is not a problem with <br> But the two boxes have not the same width. What shell i do?

DikkieBurger
12-27-2006, 10:03 PM
Use

<THUMBNAILS_WHOLE_PAGED> // Thumbnails in this page
<THUMBNAILS_PAGES_LINKS> // Link to the pages of thumbnail in the selected category

for the thumbnails page-by-page.

Bass-T.
12-27-2006, 10:28 PM
Use

<THUMBNAILS_WHOLE_PAGED> // Thumbnails in this page
<THUMBNAILS_PAGES_LINKS> // Link to the pages of thumbnail in the selected category

for the thumbnails page-by-page.
nothing happens if i replace that two tags with the <THUMBNAILS> tag.

DikkieBurger
12-27-2006, 10:36 PM
nothing happens if i replace that two tags with the <THUMBNAILS> tag.

You have to replace the <THUMBNAIL> tag with those two tags.

Bass-T.
12-27-2006, 10:41 PM
i haven't a thumbnail tag, there is only a thumbnails tag. see the screens above.

DikkieBurger
12-27-2006, 10:47 PM
i haven't a thumbnail tag, there is only a thumbnails tag. see the screens above.

Sorry, typo, I mean the <THUMBNAILS> tag. :rolleyes:

Bass-T.
12-27-2006, 10:59 PM
Sorry, typo, I mean the <THUMBNAILS> tag. :rolleyes:

nothing happens if i replace that two tags with the <THUMBNAILS> tag.

Dennis
12-28-2006, 11:34 AM
Replace <THUMBNAILS> with


<div><THUMBNAILS_WHOLE_PAGED></div>
<div id="bot_nav"><THUMBNAILS_PAGES_LINKS></div>

Bass-T.
12-28-2006, 01:47 PM
<div><THUMBNAILS_WHOLE_PAGED></div>
<div id="bot_nav"><THUMBNAILS_PAGES_LINKS></div>
the same as before. nothing happens. all 270 pictures at one page. :(

DikkieBurger
12-28-2006, 01:49 PM
Give us a link to your website so I can look at it.

EDIT: Found it: http://daily-impressions.de/ (http://daily-impressions.de/)

DikkieBurger
12-28-2006, 01:52 PM
Found a solution, change the link to your archive to http://daily-impressions.de/index.php?x=browse&pagenum=1

Use: <LINK_TO_PAGED_ARCHIVE>

Bass-T.
12-28-2006, 02:05 PM
Found a solution, change the link to your archive to http://daily-impressions.de/index.php?x=browse&pagenum=1
finally. thanks for helb. but page one is alway highlited. and not the page where i am at the moment. what is this? last question: how can i rename the monthly archive dropdown box? i would like to name it in german.

DikkieBurger
12-28-2006, 02:12 PM
Look in addons/paged_archive.php at this line (around the middle of the doc):


$archive_select_links = "Monthly archive:<br /><a href='index.php?x=browse&amp;pagenum=1'>$lang_browse_all (" .$pixelpost_all_photonumb .")</a>";


Change Monthly archive: to what you want.

Bass-T.
12-28-2006, 02:30 PM
i had to change every "Monthly archive" in that file with my text that it worked. now it looks good. but how can i highlight the page number i am viewing in bold? it is always number one.

Dennis
12-28-2006, 03:15 PM
I've checked the code and it isn't implemented. I will add the code to the SVN..

Look for in the paged_archive.php:

$Archive_pages_Links .= "<a href='index.php?x=browse&amp;category=&amp;pagenum=$pageco unter'>$pagecounter</a> ";


change to:


if ($pagecounter != $pagenum){
$Archive_pages_Links .= "<a href='index.php?x=browse&amp;category=&amp;pagenum=$pageco unter'>$pagecounter</a> ";
}else{
$Archive_pages_Links .= "<a href='index.php?x=browse&amp;category=&amp;pagenum=$pageco unter'><strong>$pagecounter</strong></a> ";
}


The one with <strong> in the a href will show bold numbers..

Dennis
12-28-2006, 03:22 PM
I'm discussing with other developers about a more versatile solution allowing the user to use CSS styles for the page viewed and the other pages.. This will be likely implemented in the new version.

Bass-T.
12-28-2006, 03:31 PM
nothing happens if i overwrite that line with that code. :(

Dennis
12-28-2006, 05:27 PM
Strange because I've implemented on my blog and it works....

Bass-T.
12-28-2006, 07:11 PM
i did it as you you said:

http://muenchen-surf.de/bass-t/bilder/di6.jpg

but it doesn't work. why? http://www.daily-impressions.de/index.php?x=browse&category=&pagenum=1

alternatively i could write "Page" in front of the number at the top beside the dropdown box. is that possible?

austriaka
01-26-2007, 06:46 AM
you have to replace that string three times in paged_archive.php

If you use Geos Show Category Addon, you can put these lines into your css:
.sc_th_page_nav_cur {
font-weight:bold;
}

HTH
KArin