PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Gallery Layout - links (http://www.photopost.com/forum/photopost-pro-how-do-i/134818-gallery-layout-links.html)

dakis January 2nd, 2008 04:52 PM

Gallery Layout - links
 
I've been trying to figure out how to use the thumbnail gallery layout. My problem is this;

Let's say I have this category tree:

TopLevelCategory
-Level 1 CatA
--Level 2 cat_a1
--Level 2 cat_a2
-Level 1 CatB
--Level 2 cat_b1
--Level 2 cat_b2

which is quite simple, just 4 categories, grouped into 2 more generic categories. Now, when useing the gallery layout for the index page, I get 2 thumbnails, each for every level1 category. Under the thumbs, there are the NAMES of the level 1 categories. If I click that, it takes me to another index page, which now has thumbnails for the level 2 categories of that Cat --- which is correct.

But if I click on the thumbnail, I get linked inside that level2 subcategory , where the thumbnail belonged to - which is quite confusing.

I want to have the same link in the thumbnail also - is this possible?

In the code, I see for the thumbnail this code:

Code:

Content visible to verified customers only.
and for the title this code:

Code:

Content visible to verified customers only.
How can I modify the first code so that it links in the same place as the second? I hope I didn't made a mess and confused everybody :D

Chuck S January 2nd, 2008 05:53 PM

The gallery layout only shows the parent cats not child cats so if you only have 2 true parent cats thats all your gonna get. The catlink will take you to the script to see subcats and the thumbnail is simply the latest photo from any subcat beneath the parent. In your scenerio and setup I always suggest using the forum style layout.

dakis January 3rd, 2008 02:40 AM

Chuck I only need the parent cats, so no problem there. My problem is the thumbnail link.

From your answer I understand that there is no way to change the link for the thumbnail, is this correct?

If so, is there a way to disable the thumbnail link completely? It will definately make my members confused.

Chuck S January 3rd, 2008 07:48 AM

Only way to change the thumbnail link would essentially be edit your code in some fashion. The file is pp-inc.php but cant not really something I have ever looked at. The link etc is all auto generated in functions so your need to determine what the right way to rehack things would be without interfering with the rest of the program.

dakis January 3rd, 2008 08:17 AM

But the thumbnail and its link is globally defined in Photopost right? So if I changed it it would reflect all the thumbnails and their links, is this correct?

Chuck S January 3rd, 2008 09:49 AM

Correct this is why I said you would need to modify your functions to do something different. This would be considered code modification and not product support.

dakis January 3rd, 2008 03:55 PM

Thankyou Chuck for your fast response. :)

Chuck S January 3rd, 2008 04:56 PM

Not a problem

see this

Code:

Content visible to verified customers only.
There really is no way to do what you want to do without huge alteration of how the program operates. You see when you have subcats under a parent cat the latest upload is displayed for the cat which means the last image to any of its children so your link is always going to go to the cat last uploaded to on that thumbnail image. It replaces the link you see for last image uploaded on the forum display. If you want to view the parent cat you use the text link not the thumbnail so your best using the forum display if you find the gallery one too confusing.

dakis January 3rd, 2008 05:33 PM

Yup, that's what I did, I switched back to forum display.

Thankyou once again for your fast support, as always.

Chuck S January 3rd, 2008 05:43 PM

no problem enjoy your evening.


All times are GMT -5. The time now is 02:55 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97