Is it possible to do this?
| From: | pt2002 | Date: | Tue, 02 Nov 2004 12:55:07 +0000 |
| Subject: | Is it possible to do this? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11942@lists.php.net to get a copy of this message | ||
Popup function, another try...
Hello
I am using popup plugin and it's everything ok.
The question is:
The param list is long and I would like to know I can use a var to assign
values
I try this in template
{assign var="pop" value="fgcolor='FFFFC5' bgcolor='0'
capcolor='D4D0C8'
shadow=1 shadowy=7 shadowx=7 shadowcolor='F0F0F0' shadowopacity=60
captionfont='arial.ttf' captionsize=4 textsize=1"}
Can I write
{popup $pop text='blah blah'} just to avoid type all params list. ?
I also tried
$pop but I can't get this to work.
It's a lot of work to repeat every {popup .... } for every link, image, etc
I need to show a popup.
Greetings