Timo Pulkkinen ha scritto:

Hello,

I stumbled on a nice development aid in a webshop project and began wondering if it's possible to implement something similar to this
in STK / Magnolia easily?

Hey, they are cloning "our" green bars! But they are red... :-)
Anyway, back to the topic, it should be absolutely easy to implement this.
Just extend the template definition model and add a custom variable,

eg: templateHint = true/false

Then, inside the template, you can enable that feature:

[#if def.templateHint]
[...@iwouldpreferhereamacro or include--- /]
[#/if]

It is just an idea...

M.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to