-
1. How to remove a skin from the skin settings
freak2051 Feb 21, 2011 4:34 AM (in response to cowl)I am not sure if I understood correctly but if you want to remove default skins in GateIn then you have to modify this script (if you have own extension settings might be in your file).
gatein.ear\02portal.war\WEB-INF\conf\uiconf\portal\webui\portal\SkinConfigOption.groovy
-
2. Re: How to remove a skin from the skin settings
trong.tran Feb 21, 2011 5:19 AM (in response to cowl)<portal-skin>
<skin-name>NameOfMySkin</skin-name>
<css-path>/skin/Stylesheet.css</css-path>
</portal-skin>
NowI have done a mistake by adding a skin I have no further use for. Ihave deleted that lines from the gatein-resources.xml and started theserver but I'm still able to select and apply that skin.
probably there is still another one that using NameOfMySkin skin-name. Could you try to check in every gatein-resources.xml files ?
I am not sure if I understoodcorrectly but if you want to remove default skins in GateIn then youhave to modify this script (if you have own extension settings might bein your file).
gatein.ear\02portal.war\WEB-INF\conf\uiconf\portal\webui\portal\SkinConfigOption.groovy
Actually, the SkinConfigOption.goorvy file is not used anymore and it would be removed soon.
-
3. Re: How to remove a skin from the skin settings
freak2051 Feb 21, 2011 7:43 AM (in response to trong.tran)Great, it explained that never works for me. But I thought that it's caused by different path in my portal extension. What I really hate about it that there is no information about such major things. Nowhere. Even official support is very general at most of time. Good example is sharedlayout.xml file that must be in fixed path portal/portal because it's HARD CODED. Ehm...some kind of stupid if there is no information about that in documentation!
But anyway I have the same problem then. I removed all references to skin but it is still visible in skin selection box. The same situation is with themes - I removed most of them including their CSS selectors but in theme selection combobox I still see them.
Again some super secret information that I have no chance to get it of this time it's my mistake?