Keyword Album links just for photo page keywords?
ichthyous
Joined: 2006-06-16
Posts: 324 |
![]() |
I have been trying to work this out for some time with the Keyword Album module. I don't want keywords in albums to link to keyword albums at all, but I do want keywords shown on photo pages themselves to be linked to keyword albums. I customized my photo pages to show the list of keywords from the meta keywords on the page itself. I found this link to make only album items linked: http://gallery.menalto.com/node/96439. How would I make the actual keywords for PhotoItems linked? Thanks for any help! |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
that page shows you exactly how: Quote:
I want that keyword link only appear only under the Items (pictures), not both the Albums & Items. -s |
|
ichthyous
Joined: 2006-06-16
Posts: 324 |
![]() |
No it doesn't, I made that same change and it it removes the keyword links from the albums themselves but not the album items. I want links on the photo page level keywords (on page), not on any album items. The links should appear on the page on the photo pages only. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Edit Album -> Theme Tab -> Blocks to show on photo pages -> Keyword album links -s |
|
ichthyous
Joined: 2006-06-16
Posts: 324 |
![]() |
Hey that worked thanks for the advice! Any idea on how to exclude albums from the returned items? I would like only items to be included |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Gallery admin -> Keyword Albums -> Keyword Album Settings -> -s |
|
ichthyous
Joined: 2006-06-16
Posts: 324 |
![]() |
I think my post wasn't clear. I Want to exclude albums from the returned results when I click a link. Right now when I click a keyword link it creates an album with images and other albums in it. I want to leave the other albums out and just have images shown. Is there any way to exclude albums? Thanks! |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Could it be as easy as to not keyword your albums? -s |
|
ichthyous
Joined: 2006-06-16
Posts: 324 |
![]() |
I thought about that but I do want a list of keywords available on the albums, but not the albums to show up in the results. Changing from 'GalleryItem' to 'GalleryPhotoItem' at line 172 produces an error: Error (ERROR_STORAGE_FAILURE) |
|
ichthyous
Joined: 2006-06-16
Posts: 324 |
![]() |
One other thing maybe you know how to do...because the module only uses one set description and plugs it in across every page it generates for each keyword I am getting hundreds of duplicate description errors in Google Webmaster Tools. The easy way to remedy this would be to somehow add the keywords itself to the description: $item->setDescription($moduleParams['description']); I am not that familiar with Php, and have tried everything to add the keword parameter into the description. Even better would be text plus the keyword as the first line of the description, then the description. In my experience that should be enough to have Google identify each description as unique and start to drop them as dupes. Any ideas on how to write that? Thanks! |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
there is a reference to GalleryItem a couple lines above that also needs to be changed to GalleryPhotoItem |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
try line 182: -s |
|
ichthyous
Joined: 2006-06-16
Posts: 324 |
![]() |
I have it at 172 not 182, strange...I added it and it worked. Albums are gone! Thanks for the help with that, I think it looks much cleaner to just return images and not albums. Now I just need to figure out how to include the keyword in the description for each page. As I mentioned, Google is murdering me with now over 1,700 duplicate description errors and rising! |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
the important part was to add . 'AND `g_canContainChildren` = 0' -s |
|
ichthyous
Joined: 2006-06-16
Posts: 324 |
![]() |
Yep I realized that afterward and I edited my post...see above |
|