{insert} & weird params-handling

From: Date: Thu, 25 Apr 2002 13:34:32 +0000
Subject: {insert} & weird params-handling
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3883@lists.php.net to get a copy of this message
Hi, i use several inserts within my templates. With "caching" turned off, i received the name of the insert within the params as first parameter. Because i do a "foreach"-loop within the insert-function for the whole params-array I had to "array_shift" the params, to eleminate the name of the function, which always was passed as first param. But when "caching" is turned on, the name of the insert doesn't apear within the params any more and my first 'real' param gets kicked. Any suggestions to solve this? Regards, Norbert

« previous php.smarty.general (#3883) next »