linkitem link callback (code provided)
nicklous20
Joined: 2007-05-03
Posts: 5 |
Posted: Thu, 2007-06-28 22:57 | |||
I've added a Gallery2 LinkItem Callback that lets me check the link value from an album template (for example). I'm hoping you'll add it into your source base for the Link Item. Here is a sample usage from my album.tpl file: {if $child.entityType == 'GalleryLinkItem'} Note that I haven't modified any of the original linkitem files... just added to them. I've submitted this as an RFE: http://sourceforge.net/tracker/index.php?func=detail&aid=1745087&group_id=7130&atid=357130
|
||||
Posts: 8601
this looks familiar, think I got it in email... I believe {$child.link} already has the same value retrieved by this code.
Posts: 421
I'm using NZDI theme, but I don't know where I have to add:
in my themes/nzdi/templates/album.tpl ?
Please help.
Thanks.