3 Replies Latest reply on Oct 20, 2008 5:23 PM by peterj

    Default layout and theme for Dashboard

    kumarkn

      Currently the default layout and theme for dashboard is renaissance. I want my own custom theme and layout as the default one. I tried changing in default-object.xml for the dashboard but its not working. Kindly let me know how to change its(dashboard) default theme and layout without changing the default theme for the portal.

      Thanks in advance.

        • 1. Re: Default layout and theme for Dashboard
          durand

          My guess is that you've already solved this, but changing the theme under Dashboards, under the Management Portlet as admin does change the default theme for dashboards for all users.

          • 2. Re: Default layout and theme for Dashboard
            vallia

            Is changing the theme/layout in admin GUI the only way to modify default theme and layout? Is there anywhere in the XML files that we can do this?

            Thanks,

            • 3. Re: Default layout and theme for Dashboard
              peterj

              Look in the jboss-portal.sar/conf/data/default-object.xml file, and you will see this:

              <deployment>
               <if-exists>keep</if-exists>
               <context>
               <context-name>dashboard</context-name>
               <properties>
              
               <!--
               | Set the layout for the default portal, see also portal-layouts.xml.
               -->
               <property>
               <name>layout.id</name>
               <value>generic</value>
               </property>
              
               <!--
               | Set the theme for the default portal, see also portal-themes.xml.
               -->
               <property>
               <name>theme.id</name>
               <value>renaissance</value>
               </property>


              Be warned that changing these settings are only valid the first time you bring up the portal in a new database.