Re: extensions

From: Date: Sat, 30 Apr 2005 10:34:15 +0000
Subject: Re: extensions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12558@lists.php.net to get a copy of this message
In exactly the same position and I save my templates as .html I've also configured dreamweaver to NOT rewite tags ie "do not rewrite code in these file types .." isnt smarty fantastic ;-))) pete John Martinez wrote:
Hi Smarties, The standard template extension seems to be .tpl which is no prob for me but I'm using Dreamweaver MX as a GUI for making the html template. The trouble is that DMX doesnt ID the .tpl as html format and is just all code when I open it in the GUI (can't switch between the three modes.) To fix this I temporarily rename the .tpl to .htm and work as normal. Recently I've tried sending the Smarty template call to the .htm and it works fine. 1. Is sending the template call to the .htm named template bad? any drawbacks? 2. If anyone knows how to set DMX to treat the .tpl extension as .htm this would prolly be a better fix. Calling the .htm doesn't feel right to me. John


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