on 11-27-2008 9:21 PM
Hello everyone.
First, thanks for read this questions, which is very short and clear.
I have a hmtl page in KM, and I adopting an specific portal theme, with this code:
<link href="http://enapbwqas:50100/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal /Intranet_MVC /ur/ur_7.0_ie6.css?7.0.15.1.0" rel="stylesheet" type="text/css">
But now I need to adopting the "default" portal theme, so this html page would change with differents themes... with something like this:
href="http://enapbwqas:50100/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ <% default theme %> /ur/ur_7.0_ie6.css?7.0.15.1.0"
anyone knows what is the correct code of " <% default theme %> " ?? so the html style would change dynamically...
Thanks for your help !!!
Tony.
Hi,
I am suprised that you need to include the link to the CSS file at all - since I thought that perhaps the link is generally included in the portal by default and should be available to your KM resource. My first suggestion would be to remove the CSS link and see what happens (e.g. if you can still reference the CSS classes).
Remember also that a KM document is just a KM document and not a dynamic resource with scripting capabilities - so you cannot use <%=theme%> placeholder that get populated at runtime. You could write a KM resource filter that parsed the KM document content and replaced the placeholder at runtime -but that is a bit messy in my opinion.
Hope that helps,
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.