RE: [SMARTY] dreamweaver extension SMARTY IDE???
| From: | Mark Priatel | Date: | Mon, 15 Sep 2003 21:16:26 +0000 |
| Subject: | RE: [SMARTY] dreamweaver extension SMARTY IDE??? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10216@lists.php.net to get a copy of this message | ||
Assuming you're using DreamweaverMX (or MX2004), just add the following
element:
<documenttype id="Smarty Template" internaltype="HTML"
winfileextension="tpl" macfileextension="tpl" file="Default.html">
</documenttype>
To the file:
$DREAMWEAVER_HOME/configuration/DocumentTypes/MMDocumentTypes.xml
This will allow you to edit your smarty templates as if they were HTML
files.
( this may work in earlier versions of Dreamweaver, but I can't remember how
the doctypes are setup )
-mark
-----------------------------
Mark Priatel
Iolog Web Communications
http://www.iolog.com
-----Original Message-----
From: Scott Kent [mailto:scottkent@landspeedracing.com]
Sent: Monday, September 15, 2003 5:00 PM
To: smarty-general@lists.php.net
Subject: Re: [SMARTY] dreamweaver extension SMARTY IDE???
I do everything Web design Graphics design Animation, and Web
programming but it needs to be maintained by Techno challenged who know
dreamweaver. I know how to work with it but it is a pain in the ass
constantly switch the.htm to .tpl and back again just to open it in
dreamweaver. I wish variable for say {$ImageDir} would work just like
with a php server.
I am just looking for one environment to do php html smarty javascript
all in one. I don't need WSYWIG just the ability to quickly preview
results of the code.
Anyone Have a Suggestion?
On Monday, September 15, 2003, at 01:51 PM, Ajay Sharma wrote:
> On Mon, 2003-09-15 at 13:37, Scott Kent wrote:
>> I am very interested also as this is my exact situation.
>
> So far I've received a bunch of private messages and the extensions
> seems to do:
>
> - Dreamweaver can read/write .tpl files
> - DreamWeaver has 'Smarty Template' listed as one of the 'Dynamic Page'
> types to create from within the New... dialog
> - syntax coloring of smarty .tpl files
>
> It doesn't seem like much, IMO. A friend (who's on the smarty list)
> said that it's best to just leave the templates as .html files and
> educate your designers. If they use Dreamweaver then their used to
> everything getting jacked up anyway and working around it.
>
> --Ajay
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php