Share » 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 4:11:54 am - 1 reply

Author Message

Bertrand Dunogier

Thursday 28 January 2010 7:25:22 am

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:

$#object_id

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

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

36 542 Users on board!

Forums menu