> > I'm completely sold on Turbine. I'm evangelizing here at
> > the office, and being in a position to dictate some policy,
> > I have the power to make decisions... beware, here I come!
>
> Lucky you are. I'll need to find a different employer for that ;-(
> (Not that this is an ad ;-))
Would you like to relocate to Chile?
> > Anyway... Some people here have been asking how well does
> > a Turbine WM- (Velocity-) based template integrate with
> > those wimpy HTML editors.
>
> Actually much better than any tag-based engine (ASP, JSP, PHP
> etc.) because
> in most cases wm code will not confuse editor since it does
> not look like
> tags.
Good point.
> > I have never touched one of those,
> > and do my HTML programming by hand, so I have no idea how
> > they work, but there are some obvious questions that pop up:
> >
> > * How does WM code appear on the HTML editor? I'm guessing
> > it will just appear as text preceded with a $ or #, right?
>
> If you place it where text is allowed then yes and that's good part.
> Otherwise (if you place it in the table but not in a cell or
> inside a tag)
> the results may vary from editor to editor. Generally nothing good.
Ok. This would be a problem if your WM variable was generating part
of the HTML markup...
> > * Say you want to embed an image on a page. Is there a way to
> > make the editor show the image (that would mean referencing
> > the image in a way the editor can find it) and also make
> > the SRC a valid one under Turbine?
>
> Many such editors support mapping for preview. For example if
> you have your
> templates under c:\webapps\yourapp\WEB-INF\templates and you
> are running
> tomcat etc. you can set the preview mapping to
> http://localhost:8080/yourapp/screens/template ... So that
> when you want to
> preview a template it will be requested through the
> webserver/turbine and
> all images/lins etc. should appear correctly (not sure how
> authentication
> will affect this).
Aha! That sounds pretty reasonable.
> fedor.
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]