RE: [SMARTY] Smarty engine help

"Max Schwanekamp" <[email protected]> Tue, 14 Aug 2007 12:04:21 -0700
Newsgroups gmane.comp.php.smarty.general
Message-ID <006c01c7dea5$ee2b8c70$ca82a550$@com>
From: Chris Arnold [mailto:[email protected]]=20
> 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=3D$theme.item image=3D$image class=3D"gallery-photo"
	fallback=3D$smarty.capture.fallback usemap=3D#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=20

HTH

--
Max Schwanekamp
NeptuneWebworks.com
541-517-9064

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php