Re: [SMARTY] Problem with variables...
| From: | Jason Sweat | Date: | Sat, 01 Mar 2003 02:55:04 +0000 |
| Subject: | Re: [SMARTY] Problem with variables... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8313@lists.php.net to get a copy of this message | ||
I may be misunderstanding your problem, but a frameset instructs the browser
to fetch different pages to fill the various frames, so you should be
referencing different _PHP_ scripts for frame targets, not _templates_.
Each frame should be handled by your server as a separate request from the
browser.
HTH
Jason
----- Original Message -----
From: "Gentil de Bortoli Júnior" <listas@bortoli.com.br>
To: <smarty-general@lists.php.net>
Sent: Friday, February 28, 2003 11:32 AM
Subject: [SMARTY] Problem with variables...
>
> Hi, all! I have a little problem with PHP + Smarty and I can't find
> any examples of its usage. Well, I have a script which assign
> values to some variables and then display a template
> (frame.tpl). This template contains only a frameset with two sources
> (main.tpl and top.tpl). What happens? I want to access those variables
> from main.tpl file, which is included from frame.tpl, but it's not
> available. I think that I could do this using $global_assign
> but... :)
>
> Ideas?
>
> Gentil de Bortoli Junior
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>