[tags] Howto make a Tag Virtual Album Link to the actual Album Picture?
|
blafasel2
Joined: 2009-05-08
Posts: 2 |
Posted: Fri, 2009-05-08 00:22
|
|
Hello, I have several albums and a tagloud from all albums. I want to make the thumbnails in the tag virtual album link directly to the album page. I think this should make it clear: When I click on a tag in the cloud a tag-album appears. but if I click on a thumb in this tag-album i'm not in the album the image belongs to instead the image has it's one page: e.g. what i get at the moment is: where do it have to look for it? I'm not very familiar with structure - maybe someone could point to the correct files? regards (gallery 2.3 with wpg2 current tags plugin) |
|
| Login or register to post comments |

Posts: 3854
Small change - I'll try to work it out for you later.
Posts: 2
Hey, thanks for your offer to help me.
Any news here?
I don't think I'll need a step by step guide. Just a hint were exactly to look or maybe a short explanation. I'm neither a PHP or Smarty guru and allthrough gallery looks like cleanly designed and well written I have a hard time understanding the code.
Thank you very much.
Posts: 3854
sorry... been meaning to get back to this.
Try inserting the following two lines into VirtualAlbum.inc at line 61, directly after "if (!empty($itemId)) {"
$redirect = array ('view' => 'core.ShowItem', 'itemId' => $itemId); return array(null, array('redirect' => $redirect));