on 2006 Feb 02 4:27 PM
Has anyone been able to extend the portal themes to include your own CSS styles. I have tried to simply add a folder under the relevant portal theme, however, when using the standard ILAFService.includeThemePartInResponse method it doesn't recognise my new 'part' in the theme.
I basically want to be able to include some formatting and my own classes in a custom folder beneath the theme. This would then be able to be included whereever necessary using the standard APIs. However, it looks like even though you include the folder, that there is some hard coded place where all of the portal standard theme parts get loaded by the LAFService. I have checked the code of the LAFService class and it isn't done there, so it must be part of the portal runtime somewhere.
Surely there must be some method of being able to extend the theme using the APIs
Anyone ???
Thanks
Darrell
Request clarification before answering.
Found out how to do this now. Basically you can add your own folder into the \irj\root\portalapps\com.sap.portal.design.portaldesigndata\themes\portal folder of the portal. You then edit the portal_theme.xml file to include your new folder. Restart the J2EE server and then you can use the standard APIs to include this theme part into a page, i.e.
iLAFService.includeThemePartInResponse("custom", request, response);
Hey presto
Darrell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.