Re: [SMARTY] Smarty engine help

[email protected] (Chris Arnold) Tue, 14 Aug 2007 15:36:24 -0400
Newsgroups php.smarty.general
Message-ID <[email protected]>
Max Schwanekamp wrote:
>
> 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}
>   
So, should i remove some of this link? I have to be honest (as if you
already did not know) this smarty stuff is a little mind bending...

>>This {g->image} tag (which is being passed the "item","class" and other parameters, is apparently a custom plugin >>specific to Gallery2...  
So, are you telling me that smarty list can not help and to take it to the g2 forum? If so, g2 forum told me to take it to a different list :(
>>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
Yeah been all over that and what i am using is not really lightbox; however it is a light"whatever" script. It is called lightwindow (and this dev told me to take it to the g2 forums that it is not a lightwindow issue). Another thing about that codex link, i am using the siriux theme and none of that code that you are asked to change is in the siriux code (oh, i remember now, the them dev told me that g2 was built on smarty engine). As you can see, i have been all over the place trying to get help. By far, this list has helped the most. So thank you for that help. Just unsure how to resolve this.