|
Home > Archive > WebSphere Portal Server > August 2004 > Custom theme for "Page Customizer" page?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Custom theme for "Page Customizer" page?
|
|
| Silvain Piree 2004-08-24, 3:25 am |
|
Hi,
I've created a custom theme and skin for WebSphere Portal.
However, when you go to the "Page Customer" page
(where a user can add portlets to the page), it still shows the
standard WebSphere theme (actually the Admin theme).
I tried to change the theme for the "Page Customizer" page but
it only allows the Admin theme and not the other themes.
Is there a way to create a new Admin theme? And assign it to
the "Page Customizer" page (and to the Favorites page, etc.)?
Silvain
| |
| Michael Harris 2004-08-24, 7:09 pm |
| The portal administration user interface has extra requirements on the
theme. Special code must be present in the theme JSP files or the
administration user interface will not function properly.
First, you must make a copy of your theme files. Create a new theme
directory and copy all of your theme files into the new directory. Let's say
for discussion that you call it "myadmin". Then add the special code to the
files in the "myadmin" theme. For Portal 5.0.x, you need to add
<wps:adminNavHelper/> to Default.jsp of your theme. For previous versions
of portal, there is more code, but I'm not sure what it is off the top of my
head. You will need to inspect the JSP files of the administration theme in
that version of portal. Next, create a file in the myadmin directory named
"AdminTheme.flag". This special file indicates to the portal that this theme
is an administration theme and can only be used on administration pages.
Then use the administration interface to define the new theme and apply it
to an administration page.
In older versions of portal, it was important to not apply an administration
theme to a standard page (1) for performance and (2) because it might be
used on an anonymous page. The latest versions of portal (5.0.2 and later)
have improved such that you might be able to apply a theme that uses the
<wps:adminNavHelper/> tag to a normal page (even anonymous) without
suffering performance penalties. However, this is not supported at this
time. The "AdminTheme.flag" file is only checked in the portal
administration user interface. You can use xmlaccess to apply any theme to
any page. So it if you want to add <wps:adminNavHelper/> to your normal
theme you could use xmlaccess to apply it to the administration pages. But
again, this configuration isn't supported.
| |
| Silvain Piree 2004-08-25, 4:25 am |
|
Thanx !!!!!
Silvain
"Michael Harris" <none@none.com> wrote in message
news:cgfpup$4jsu$1@news.boulder.ibm.com...
> The portal administration user interface has extra requirements on the
> theme. Special code must be present in the theme JSP files or the
> administration user interface will not function properly.
>
> First, you must make a copy of your theme files. Create a new theme
> directory and copy all of your theme files into the new directory. Let's
say
> for discussion that you call it "myadmin". Then add the special code to
the
> files in the "myadmin" theme. For Portal 5.0.x, you need to add
> <wps:adminNavHelper/> to Default.jsp of your theme. For previous versions
> of portal, there is more code, but I'm not sure what it is off the top of
my
> head. You will need to inspect the JSP files of the administration theme
in
> that version of portal. Next, create a file in the myadmin directory
named
> "AdminTheme.flag". This special file indicates to the portal that this
theme
> is an administration theme and can only be used on administration pages.
> Then use the administration interface to define the new theme and apply it
> to an administration page.
>
> In older versions of portal, it was important to not apply an
administration
> theme to a standard page (1) for performance and (2) because it might be
> used on an anonymous page. The latest versions of portal (5.0.2 and
later)
> have improved such that you might be able to apply a theme that uses the
> <wps:adminNavHelper/> tag to a normal page (even anonymous) without
> suffering performance penalties. However, this is not supported at this
> time. The "AdminTheme.flag" file is only checked in the portal
> administration user interface. You can use xmlaccess to apply any theme to
> any page. So it if you want to add <wps:adminNavHelper/> to your normal
> theme you could use xmlaccess to apply it to the administration pages.
But
> again, this configuration isn't supported.
>
>
|
|
|
|
|