PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Unsure how to explain but category image link (http://www.photopost.com/forum/photopost-pro-how-do-i/128814-unsure-how-explain-but-category-image-link.html)

s2kinteg916 November 20th, 2006 02:20 AM

Unsure how to explain but category image link
 
Basically i have a three level of categories

Car Manufacturers
Acura
Acura Integra
- subalbums of acura integra

When i click on Acura it gives me the option to click "acura integra" or click on the image above it but if i click the image it takes me straight to the picture which is a members album.

What im trying to do is to make the links the same so when i click the image it goes to the subcat Acura Integra instead of last image.

Chuck S November 20th, 2006 09:37 AM

Please post a picture of where you are talking? are you talking the category avatar or are you using the optional gallery layout not forum layout on index?

s2kinteg916 November 20th, 2006 10:12 AM

You are correct i am using gallery layout...

Chuck S November 20th, 2006 10:48 AM

I have set my gallery to gallery layout and my thumbnails lead to the category so I dont see this behavior

http://www.reeftalk.com/gallery

s2kinteg916 November 20th, 2006 10:50 AM

http://www.automobilehelper.com/showgallery.php/cat/2

You can see it here

The image link ... is different than the Gallery link Acura Integra

Chuck S November 20th, 2006 11:51 AM

okay thats not the gallery view index but showgallery

It is performing as expected. Basically your gallery link where it is suppose to be linked is linking to the gallery acura integra but you have an assigned album uploaded to it which is cat 501. Hense the last picture uploaded is to that assigned album that is the one shown as the gallery thumbnail it is always the last photo uploaded.

s2kinteg916 November 20th, 2006 12:53 PM

is it possible to link to the gallery rather than the last photo uploaded ?

where do i look ?

Chuck S November 20th, 2006 02:51 PM

well you could try modding your files I would think possibly hacking pp-inc.php file the get_imagethumb function maybe

2005 March 17th, 2007 02:47 PM

Just responding in case any one else is looking for an answer to this, as I was. After 6+ hours or trial and error, I think I found a solution.

This will allow you to link the index thumbnail or index avatar (whatever it is called) to the parent category, rather than to the latest photo's sub-category, when NOT using the forum style layout.

Find this:

Code:

Content visible to verified customers only.
Replace with this:

Code:

Content visible to verified customers only.
AKA, change $pcat to $id.

I have not tested how the change affects other areas of the software. But on main gallery index, and sub album views, it does what I wanted. Hopefully it wont muck something else up.

Also, my 2 cents, this should be an option for the admin in the usercp in future versions. (If not using Forum Style -> Link to newest sub gallery or parent?) etc etc.

Keywords - Thumb Thumbnail Link Index Categories Category Latest Recent Not


All times are GMT -5. The time now is 10:06 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