Re: [SMARTY] Overlib popup
| From: | messju mohr | Date: | Wed, 25 Feb 2004 16:22:01 +0000 |
| Subject: | Re: [SMARTY] Overlib popup | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11026@lists.php.net to get a copy of this message | ||
On Wed, Feb 25, 2004 at 04:16:23PM +0000, Jake Stride wrote:
> I seem to be having problems with the overlib popups. Is it possible to
> assign values to the caption etc?
>
> At present I have (I have striped out stuff that is working):
>
> {section name="view" loop=$view_data}
> {popup caption="$view_data[view].helptitle"}
it's
{popup caption=$view_data[view].helptitle}
> {/section}
>
> And It does work, I get Array.helptitle in the caption. I can access other
> values in the array OK, for example:
>
> {if $view_data[view].type eq "T"}
>
> Works fine.
>
> Am I trying to access the variables incorrectly? For example if I chance it
> to:
>
> {section name="view" loop=$view_data}
> {popup caption="$view_data[view][helptitle]"}
> {/section}
>
> I get nothing at all.
>
> Thanks
>
> Jake
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php