[Tags Module] How to put Tags Box block on photo.tpl page?

skunker

Joined: 2005-02-04
Posts: 304
Posted: Sun, 2008-04-20 04:57

Hey guys,
Is it possible to grab the tags box from the album.tpl page and use it on the photo.tpl page? If so, what's the block code I need to use? Here's a picture of the tag element that I am talking about:


Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.4.8 litespeed
Webserver = LiteSpeed
Database = mysqlt 4.1.22-standard, lock.system=flock
Toolkits = Exif, LinkItemToolkit, Thumbnail, Gd, ImageMagick, NetPBM
Acceleration = none, none
Operating system = Linux epsilon.doreo.com 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:36:49 EST 2008 i686
Default theme = fighterjetz
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Rows in GalleryAccessMap table = 60
Rows in GalleryAccessSubscriberMap table = 2371
Rows in GalleryUser table = 5
Rows in GalleryItem table = 2369
Rows in GalleryAlbumItem table = 25
Rows in GalleryCacheMap table = 0

 
skunker

Joined: 2005-02-04
Posts: 304
Posted: Tue, 2008-04-22 03:11

Anyone got any ideas?

 
hydrian2

Joined: 2009-07-15
Posts: 1
Posted: Wed, 2009-07-15 02:53

For the non-editable version add the following to your theme template file:

{g->block type="tags.ImageTags"}

I would also enclose in a div tag too. Take a look at the gallery wiki tags module page. They talk about this there, but it is a bit indirect about it.

--Hydrian
Pardon my driving... I'm reloading.