Keyword album module

eliz82

Joined: 2009-11-06
Posts: 71
Posted: Thu, 2010-06-10 07:19

I want that keyword link only appear only under the Items (pictures), not both the Albums & Items. But it seems that in the module settings i do not have that option.

any idea how to do this ?

AttachmentSize
keyword01.jpg19.3 KB
 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2010-06-11 15:14

In keyalbum/module.inc you can find function getItemSummaries. Just below "foreach ($items as $item) {" put something like this:
if (GalleryUtilities::isA($item, 'GalleryAlbumItem')) continue;

 
eliz82

Joined: 2009-11-06
Posts: 71
Posted: Fri, 2010-06-11 16:09

I tested. It's working.

many thanks