3 Replies Latest reply on Feb 21, 2011 7:43 AM by freak2051

    How to remove a skin from the skin settings

    cowl

      Hello,

       

      I am new in that community and I got a problem with deleting skins from the skin setting in gateIn.

       

      I have added the appelations of the new skins and the paths to the stylesheets they should use in the gatein-resources.xml such as described in the manual:

       

      <portal-skin>

              <skin-name>NameOfMySkin</skin-name>

              <css-path>/skin/Stylesheet.css</css-path>

      </portal-skin>

       

      Now I have done a mistake by adding a skin I have no further use for. I have deleted that lines from the gatein-resources.xml and started the server but I'm still able to select and apply that skin.

       

      What can I do that the skin disappears from the settings?

       

      Thanks for your help.

        • 1. How to remove a skin from the skin settings
          freak2051

          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

            <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

              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?