Respondr Skinning Process
- Copy and rename the defaultSkin/ and defaultSkin.less files to the Respondr directory. ex: skin_name/ & skin_name.less
Edit the skin_name.less file and change the @import statements to:
/* Do not rename the following line */ @import "defaultSkin/less/variables.less"; @import "skin_name/less/variables.less"; @import "common/common.less"; @import "skin_name/less/skin.less";
- Edit <uportal_dir>/uportal-war/src/main/webapp/media/skins/respondr/skinList.xml and add your skin. (for now, replace the defaultSkin with the skin_name)
Edit the <uportal_dir>/uportal-war/src/main/data/default_entities/portlet-definition/dynamic-respondr-skin.portlet-definition.xml file and add:
<portlet-preference> <name>PREFdynamicSkinName</name> <value>skin_name</value> </portlet-preference>
Change the skin_name
- Edit the <uportal_dir>/uportal-war/src/main/data/required_entities/stylesheet-descriptor/Respondr.stylesheet-descriptor.xml file and replace defaultSkin with skin_name
- Do an “ant initdb” to apply the new changes in the data
- Do a ant clean deploy-war
Don’t forget to add the new skin to Git!