Again: $params['name'] missed
| From: | Thomas Schulz | Date: | Thu, 06 Mar 2003 15:23:00 +0000 |
| Subject: | Again: $params['name'] missed | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-892@lists.php.net to get a copy of this message | ||
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
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