ez.no / ezpublish / documentation / customization / tips & tricks / accessing section id in pagelayout
These documentation pages are no longer maintained. Please visit the new documentation site.
One way is via $DesignKeys:used.section. $DesignKeys is a way to know the section you are actually in. In order to retrieve a section assigned to a current content object you can use let sectionID=first_set($node.object.section_id,0).
Comments