Keyword Links in photo page

greenroutes
greenroutes's picture

Joined: 2007-10-03
Posts: 1
Posted: Wed, 2007-10-03 17:54

Hi Guys,
I'm using the latest version of the gallery2. I am running Caron theme. I've also installed the Keyword Album plugin.

I would like to get the keyword links for a picture in the photo pages. I am able to successfully get the same in album pages but not in photo pages.

I changed the function showPhotoPage(&$template, $item, $params)
in theme.inc file to include 'itemSummaries'
However, I see the following lines in GalleryTheme.class file that could be causing the problem:

if (isset($load['itemSummaries']) && !empty($childIds)) {
foreach ($childIds as $id) {
$itemSummaries[$id] = array();
}
$childData[] = 'itemSummaries';
}

$module->getItemSummaries($childItems, $permissions, $template);

$childIds and $childItems would not be present for photo pages?

Can someone please help me get though the above issue and get the keyword links displayed on photo pages?

Thanks & Regards
Harish