gabiudrea
13 years agoHelper
Community skin name
Hello,
Is there any way to get the current skin name or other unique identifier (so the skin that's applied to the community) and use it inside a component?
I checked this link but couldn't find anything.
When using this ${skin} I got something like lithium.web2.data.skins.SkinContextObject@257074c
Are there any other objects exposed and where I can find a list or documentation
Cheers,
Gabi
This Freemarker call will give you the ID. I couldn't find something that gives the name:
<#assign skin_id = restadmin("/settings/name/skin.id").value />