Hi all,
I'm trying to set up a paint layout with a piece of nested content, but the keywords don't appear to behave consistently between containers of different content types.
Specifically I am trying to use %asset_assetid% to specify the asset ID of the current page as a GET variable to a nested asset. While %asset_assetid% returns the ID of the page the paint layout is applied to in the "Raw HTML" content type, it returns the ID of the paint layout itself in the "Nest Content" content type.
Just wondering if anyone knows of any possible workarounds, keywords I don't know about, or anything that might help here.
Hi Ash,
I believe the keyword you're looking for is just %globals_asset_assetid%. Something you may also be interested in is the session variable list_current_asset_id which allows you to nest asset listings in other ones and pass the current asset from the first to the second.
I assume youve tried replacement root node and set it to current asset and youre still getting these problems? If not you can try that instead of using the get variable pass.
This is precisely what I'm after, thanks. I tried to guess what the global variable might be called based on the big list of keywords, but I obviously missed it completely.
Cheers!