0 Replies Latest reply on May 30, 2006 5:31 AM by ericmacau

    How can get the current theme name ?

    ericmacau

      Hello,

      How can I get the current theme name and theme context path ?


      Furthermore, if I add

      <script src="/js/myscript.js"></script>
      


      in the portal-themes.xml as following:

      <themes>
       <theme>
       <name>realestheme-classic</name>
       <link rel="stylesheet" id="main_css" href="/theme/portal_style.css" type="text/css"/>
       <link rel="shortcut icon" href="/theme/images/favicon.ico"/>
      
      <script src="/js/myscript.js"></script>
       </theme>
      </themes>
      
      



      The output html contents will be change the java script part to


      This will caused the layout changed.

      Is this a bug ?