RE: [SMARTY] indirect indexing (was: nested foreach loop)

From: Date: Thu, 11 Apr 2002 17:23:09 +0000
Subject: RE: [SMARTY] indirect indexing (was: nested foreach loop)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3637@lists.php.net to get a copy of this message
> Do you have modifier.default.php in plugins/ directory? Is this the only > modifier that doesn't work? That worked, I had the plugins dir in the wrong place. Thanks again. Robert V. Zwink http://www.zwink.net/daid.php -----Original Message----- From: Andrei Zmievski [mailto:andrei@ispi.net] Sent: Thursday, April 11, 2002 1:07 PM To: Robert V. Zwink Cc: smarty-general@lists.php.net Subject: Re: [SMARTY] indirect indexing (was: nested foreach loop) On Thu, 11 Apr 2002, Robert V. Zwink wrote: > Thanks for your quick response. When you say "...and I now added ability to > index arrays and access object properties indirectly via simple variables" > does this mean you have added it to CVS somewhere, or you added to > specifications that will be implemented for the next version? It has been added to CVS for the next release. > I also have another question. In the manual on page > http://www.phpinsider.com/php/code/Smarty/docs/tips.html#TIPS.BLANK.VAR.HAND > LING > > I see the example: > {* the short way *} > {$title|default:" "} > > This doesn't seem to work for me. I get the error: > Warning: Smarty plugin error: [in smarty_single_product_results.ptpl line > 136]: modifier 'default' is not implemented in > /m1/web/devmccom/php-lib/classes/Smarty.class.php on line 1647 > > Am I missing something? I have Smarty Version: 2.0.1 recently downloaded > from phpinsider.com and PHP Version 4.0.6 Do you have modifier.default.php in plugins/ directory? Is this the only modifier that doesn't work? -Andrei * I am a legend in my spare time. * -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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