v5.4.2.1
In my content template’s paint layout - i am requesting it to display an asset listing page (#99999) results by sending a dynamic root ID (i.e. specified in the content template’s metadata field named asset_metadata_gallery_root
).
This is what I am experiencing:
-
i can get the paint layout to display the metadata value correctly. e.g.
%asset_metadata_gallery_root%
(e.g. 12345 will be printed). -
i can get the paint layout to call the asset listing and the asset listing will print the expected content if i supply a specific node e.g:
%globals_asset_contents:99999^with_get:root=12345%
-
however, when i attempt to send the metadata value (as item 1 above) as a get parameter, i’ll get No Results displayed. e.g.
%globals_asset_contents:99999^with_get:root={asset_metadata_gallery_root}%
-
The asset listing is configured to have GET Variable Name “root” configured at the “Replacement Root node for the listing…”
I have tried using “as_asset” modifier on the metadata value but that didnt help. I cannot do the regular nest asset in a new div because it is within a conditional statement.
Any help would be much appreciated!