Re: [SMARTY] Smarty engine help

From: Date: Tue, 14 Aug 2007 19:36:24 +0000
Subject: Re: [SMARTY] Smarty engine help
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13742@lists.php.net to get a copy of this message
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.

« previous php.smarty.general (#13742) next »