Re: [SMARTY] Re: SMARTY not for WYSIWYG designers?
| From: | Dr Tarique Sani | Date: | Thu, 27 Feb 2003 02:25:17 +0000 |
| Subject: | Re: [SMARTY] Re: SMARTY not for WYSIWYG designers? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8243@lists.php.net to get a copy of this message | ||
On Wed, 26 Feb 2003, Rob Ellis wrote:
> On Wed, Feb 26, 2003 at 06:15:02PM +0100, Tom Sommer wrote:
> > On Wed, 26 Feb 2003 16:57:48 +0000, Pete wrote:
> >
> > > If you want to use Wisywig then use something like Dreamweaver and
> > > forget smarty.
> >
> > I use Dreamweaver MX and Smarty, not a single problem, clean HTML and nice
> > smarty tags... sooooo
> >
>
> What are people using for smarty delimiters when using wysiwyg editors?
Using a prefilter to convert DreamweaverMX templates into Smarty helps
No messing with delimiters
> We're finding the default { and } conflict with CSS and javascript,
> so have started using +{ and }+ instead. This doesn't make for quite
> such lovely smarty, but getting wysiwyg-using designers to use/remember
> {literal}{/literal} seems like a losing battle (?).
>
> The other difficulty is what to do about things like <img src="{$image}">
> and {foreach} loops, which necessarily aren't very wysiwyg. :-)
DreamweaverMX templates solve the problem of <img src="{$image}"> by
allowing you to have a placeholder image
Again pre filter rulez
Tarique
--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com
-o)
/\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================