Re: [SMARTY] not for WYSIWYG designers?
| From: | Hoffman, Geoffrey | Date: | Tue, 04 Mar 2003 14:56:14 +0000 |
| Subject: | Re: [SMARTY] not for WYSIWYG designers? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8389@lists.php.net to get a copy of this message | ||
Sure it is! Aside from the fact that the design has to start somewhere...
Just to chime in on this, on Windows I'm using Dreamweaver MX and
UltraEdit32.
UltraEdit is nice because its $35, you have line numbers, syntax coloring,
RexExp & recordable Macros.
http://www.ultraedit.com/downloads/index.html
I did some research on extending Dreamweaver so that it can read and write
.tpl files with no problems. I had to edit a couple of Dreamweaver XML
config files (which aren't the prettiest) but it worked after some tweaking.
I have my page content split into typical header.tpl, footer.tpl, and
content.tpl, so I'm not seeing the whole page as it is in the browser - but
in my case each .tpl is a complete table so DW renders the portion of the
page ok. I don't use Dreaweaver templates, just Smarty templates. And I use
standard { } delimiters. I make .tpl files in the web root on my dev box so
the image paths work, then move them to the Smarty/templates/ directory on
the server.
I don't think {literal} {/literal} around javascript is that big of deal,
any more than using <% %> tags would be.
http://www.macromedia.com/support/dreamweaver/extend.html
Hope this helps -
Geoff