jcu-eresearch / matrix-helpers

100% Unguessable™. Public bug tracker, pages, designs and helpers that make life in Squiz Matrix easier. The metaphorical red pill.
https://jcu-eresearch.github.io/matrix-helpers/
GNU Affero General Public License v3.0
3 stars 0 forks source link

%asset_paint_layout_id% and %asset_design_id% don't work in Content Container Template paint layouts #49

Open davidjb opened 7 years ago

davidjb commented 7 years ago

The %asset_paint_layout_id% and %asset_design_id% keywords (docs) don't appear to work within Content Container Template Paint Layouts.

These keywords are empty within a CCT Paint Layout. This means in particular there's (seemingly) no way of getting the paint layout's ID (or other attributes/metadata), which would be useful in reuse of Bodycopy Divs within the Paint Layout.

%globals_paint_layout_id% and %globals_asset_design_id% are available, but this refers to the surrounding Standard Page, not that of the content container.

davidjb commented 7 years ago

Reported at https://squizmap.squiz.net/matrix/10546