Re: [SMARTY] overlib template
| From: | Monte Ohrt | Date: | Thu, 01 Apr 2004 16:37:38 +0000 |
| Subject: | Re: [SMARTY] overlib template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11195@lists.php.net to get a copy of this message | ||
On Thu, 2004-04-01 at 10:35, pete M wrote:
> hi all
> It is possible to include a template contents into the opverlib popup
>
> don't quite know how to explain, but I want to use {popup} to show a set
> of links to navigate, however I don't really want to put all that code
> into the text attrib
>
> eg
> <A href="mypage.html" {popup sticky=true caption="mypage contents"
> text="<long><html><line>................{$with_vars}</html"
> snapx=10 snapy=10}>mypage</A>
>
> suppose what I really want is
> text="{include file="popup_template.inc.tpl}"
This should get the text to the attribute:
{include file="popup_template.inc.tpl" assign="content"}
{popup ... text=$content}