Hi Edgar,

In Magnolia 4.4 you can simply write: ${content.metadata.template}
Is this no longer possible in 4.5?

Regards from Vienna,

Richard

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Edgar Vonk (via Magnolia Forums)
Gesendet: Donnerstag, 28. Juni 2012 15:07
An: Magnolia User List
Betreff: [magnolia-user] Re: How to get the template name of a page?

In short: I think we need a way to get to the metadata of a content node from 
the templates. I believe there was a JIRA call about this.

Furthermore: there is the implicit 'def' template variable 
(http://documentation.magnolia-cms.com/reference/templating.html#Templatingsupportobjects)
 from which you can get the RenderableDefinition of the _current_ node. But 
what if you want to get the RenderableDefinition of a different node in your 
template? If there a way to do this?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=d3d5dde8-d262-459b-baa2-654e63668165


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





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

Reply via email to