Re: [SMARTY-DEV] Again: $params['name'] missed
| From: | Monte Ohrt | Date: | Thu, 06 Mar 2003 15:43:37 +0000 |
| Subject: | Re: [SMARTY-DEV] Again: $params['name'] missed | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-893@lists.php.net to get a copy of this message | ||
I removed the unset on the "name" and "script" attributes. I'm not sure
why they were unset in the first place, I don't see a good reason for
it.
Monte
On Thu, 2003-03-06 at 09:23, Thomas Schulz wrote:
> Hi,
>
> there was no answer - an no patch in 2.5.0-RC1 ;-) - for my problem
> described in:
>
> http://news.php.net/article.php?group=php.smarty.dev&article=707“@—4H¦
> Flµ}•Ã@
>
> Please let me know, if it is possible to fix the different handling of
> insert-plugins in:
>
> - compiled templates, where _run_insert_handler() provide $params['name']
> to the insert plugin function and
>
> - cached output, where _process_cached_inserts() explicit unset
> the name attribut and therefore $params['name'] is not available
> in the insert plugin.
>
> If not, I have to provide the name of the plugin as an additional attribute
> {insert name="offer" pluginname="offer" ...}. This is not really a
> problem... but redundant and having $params['name'] would be very nice.
>
>
> Thanks a lot,
> Thomas.
>
>
> BTW: 2.5.0-RC1 works fine for me
>
> --
> http://4bconsult.de
--
Monte Ohrt <monte@ispi.net>