This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » detect "parent" object in embeded...

detect "parent" object in embeded object template

detect "parent" object in embeded object template

Thursday 28 January 2010 1:11:54 pm - 1 reply

I have an object (object A) embeded in OE field of another object (object B), and I have a template override for this embeded object A. How can I detect in this template what is the the object_id of the object B?

Thursday 28 January 2010 4:25:22 pm

You can get a variable from the parent's template namespace using the # sign. If the variable you're looking for is $object_id, this is what it would look like:


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from