Aliases for %globals_asset_contents_raw:Assetid%


I want to start using more global assets through our site. Currently a bunch of things are included in pages with %globals_asset_contents_raw:% which works but it not very developer friendly.

Is there any way to assign aliases to assets so they can be used more easily?

Or is there a better way to set up variables that we want to be able to use all over the place that will be easier to manage?

(Bart Banda) #2

If you don’t like the keyword format, you could use SSJS instead. So you could have a global area for SSJS variables that you set somewhere and then reference them throughout your templates.