Re: [SMARTY] Compatible Template-Arrays for 2.6.0 and 2.4.2?

From: Date: Fri, 16 Jan 2004 19:13:00 +0000
Subject: Re: [SMARTY] Compatible Template-Arrays for 2.6.0 and 2.4.2?
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10830@lists.php.net to get a copy of this message
Is there no solution ? That would be really bad :( Or did nobody read my post? ----- Original Message ----- From: "Matthias Mohr" <MMohr@sysdesign-edv.de> To: <smarty-general@lists.php.net> Sent: Wednesday, January 14, 2004 12:37 PM Subject: [SMARTY] Compatible Template-Arrays for 2.6.0 and 2.4.2? > 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. > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > 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 (#10830) next »