>
> If you want to produce image link directly in the template without
> having to do anything in the model, following might work ("might"
> because i'm writing it from top of my head without testing):
>
> ${stk.getAssetLink(page,"favIcon")}
>
> "stk" in the freemarker template is a shorthand for invoking methods
> on STKUtil class.
>
> HTH,
> Jan
>
Hello Jan,
Thank you for your response.
Your suggestion worked for me only on the site's root page (where I
created the favIcon object). With model.siteRoot, I found back to this
page.
<link rel="shortcut icon"
href="${stk.getAssetLink(model.siteRoot,"favIcon")}" type="image/x-icon"/>
I took this information from
http://documentation.magnolia-cms.com/templating/stk/templating.html
Is there any document giving me more information, which commands can be
used to request information from magnolia
through the freemarker template files?
Regards,
Jules
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------