Réf. : Re: [SMARTY] template in a popup?

From: Date: Thu, 09 Jan 2003 15:45:46 +0000
Subject: Réf. : Re: [SMARTY] template in a popup?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7081@lists.php.net to get a copy of this message
Thanks, that did the trick. I just had to use {strip} around the capture in order for it to work properly... Indeed, it didn't like tabs and carriage returns. Capture is a nice trick I didn't know of. I'll keep it in mind now :-) "Rasmus Schultz" <m@mindplay.dk> le 09/01/2003 14:45:04 Pour : Smarty List <smarty-general@lists.php.net> cc : (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR) Objet : Re: [SMARTY] template in a popup? capture it first, like so: {capture name=mypopup} your html for your popup here. {include file="myinclude.tpl"} and your includes and so on. {/capture} then use the popup tag with the captured content: <A HREF="http://my.site" {popup text=$smarty.capture.mypopup}>Click Here</A> that should do the trick? :) ========================================================== Ce message et ses pièces jointes (le "message") est destiné à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite. Le présent message pouvant être altéré à notre insu, Crédit Agricole Indosuez ne peut pas être engagé par son contenu. Tous droits réservés. This message and/or any attachments (the "message") is intended for the sole use of its adressee. If you are not the adressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on Crédit Agricole Indosuez. All rights reserved. ==========================================================

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