Compatible Template-Arrays for 2.6.0 and 2.4.2?

From: Date: Wed, 14 Jan 2004 11:37:12 +0000
Subject: Compatible Template-Arrays for 2.6.0 and 2.4.2?
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10821@lists.php.net to get a copy of this message
Hi everybody, it has been awhile since I wrote something here, but I hope my question has not been already been answered (couldn't find anything in the archive) After a long time still running Smarty 2.4.2 I decided to update to v2.6.0 For using 2.6.0 I have to surround my array/object accesses with backticks like follows: "$arr[$idx].name" In 2.4.2 I used the same without backtickst: "$arr[$idx].name" I want it to run on both Smarty versions 2.4.2 and 2.6.0 When I now use the 2.6.0-version at a server with smarty 2.4.2 it produces a lot backticks in my output. Is there (another) syntax or a workaround which enables me to use the code in both versions? (maybe something which detects the version and does something...) with regards, Matthias SysDesign - The Solution Behind IT. Ihr Spezialist für Systemtechnik sowie Hard- und Softwareentwicklung für alle technischen Anwendungsbereiche. -------------------------------------------------------------------------- Your specialist for systems engineering as well as hard and software engineering for all technical fields of application.

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