You can define shared variable in /server/rendering/freemarker/sharedVariable
--> 
http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.4/apidocs/info/magnolia/freemarker/FreemarkerConfig.html

Each of the variable is build with content2bean, so you can provide your 
utilities and use them in all freemarker template.

- Philipp

On 03.12.2010, at 15:00, Matteo Pelucco wrote:

> 
> On 03.12.2010 11:42, Nils Breunese wrote:
>> 
>> Matteo Pelucco wrote:
>> 
>>> on 4.3.8 I see that ParagraphRendererManager does not use content2bena
>>> to load ParagraphRenderer, but a simple reflection-based mechanism.
>> 
>> Can't you just add your custom paragraph renderer classes to 
>> config:/modules/standard-templating-kit/paragraph-renderers/stk/classesToInclude?
>>  There is also 
>> config:/modules/standard-templating-kit/template-renderers/stk/classesToInclude
>>  for extra custom template renderer classes.
> 
> Hi Nils,
> for sure I can (and I did!).
> But I need to manager many paragraph renderers / template renderers only to 
> add "custom" utilities in FTL.
> 
> Anyway, content2bean would let you to configure in real time these renderers..
> 
> Matteo
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
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