G'Day,
I'm probably wrong but I seem to recall there was a way to nest or embed one keyword inside another. I can't seem to find anything about it now and was hoping for some direction.
I am trying to use %globals_asset_attribute_X:Y% where Y is supplied by a metadata value - EG, %globals_asset_attribute_alt:%asset_metadata_image_id%%.
Obviously this isn't working or I wouldn't be asking here.
Any help appreciated.
No, you currently cannot nest keywords like this.
There is a trick we picked up several months ago which might be worth trying and here are the steps:
- Create 3 containers with Presentation and Content Type set to Raw HTML for all
- In the first container insert the following:
[html]
<div style="display:none;">%asset_metadata_image_id%</div>
%globals_asset_attribute_alt:
[/html]
- In the second container:
[html]
%asset_metadata_image_id%
[/html]
- Third container
[html]
%
[/html]
This should work. Although I am not sure if this could be broken by a future update