RE: [SMARTY] Smarty engine help
| From: | Max Schwanekamp | Date: | Tue, 14 Aug 2007 19:04:21 +0000 |
| Subject: | RE: [SMARTY] Smarty engine help | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13741@lists.php.net to get a copy of this message | ||
From: Chris Arnold [mailto:carnold@electrichendrix.com]
> I think i have found that file. Here it is:
Just to be clear, that template code you pasted in is apparently getting included into the main
theme template. The <h2> is the start of the output in the template code you sent, and that
doesn't show up until line 218 in the final rendered page. Anyway, looks like the image is
coming from this:
{g->image item=$theme.item image=$image class="gallery-photo"
fallback=$smarty.capture.fallback usemap=#prevnext}
This {g->image} tag (which is being passed the "item","class" and other
parameters, is apparently a custom plugin specific to Gallery2... Oh, hm, did you read and follow
this? I think this describes how to do what you want.
http://codex.gallery2.org/Gallery2:Lightbox_JS_Tutorial
HTH
--
Max Schwanekamp
NeptuneWebworks.com
541-517-9064