Sahana
6 years agoAdept
Setting skin from page initialization script
I'm trying to set skin from the page initialization script for a particular page but it doesn't seem to work. Below is the code I'm trying to use: <#if page.name == "CommunityPage"> ${skin.set("skin_name")}
Sahana
Please cross check below thingsa) Skin name is correct
b) No syntax error in the code. (hope you are closing the if condition in your code)
Rest, it is pretty simple. Here is the documentation.
https://community.khoros.com/t5/Developer-Knowledge-Base/Using-a-FreeMarker-Page-Initialization-Script/ta-p/125767