on 12-17-2008 12:26 PM
Hi,
We've generated several .css and we want to apply them to several Internet services.
Using ~theme parameter, it's possible to assign one .css to a service but, how can we
assign several .css to a service? We've created a design (with webgui, wa, ma, ... folders)
under /sap/public/bc/its/designs but using with ~theme parameter doesn't apply.
We've tried assign several .css mimes to theme99 with se80 transaction, but service always
uses tradeshow design.
Usign ITS Theme generator, services use always tradeshow design too.
We're very confuse. Is really possible to assign our own stylesheet to a service? We've
read lots of documents, forums and oss and we can't get answers.
Thanks a lot!
Best regards.
Hi Ivan,
We had the same issue, converting existing ITS Template in a Standalone (SAP 4.7) environment into a new ECC6.0 integrated ITS environment.
You use SE80 to bring in your Cascading Style Sheet (CSS) as a MIME object and SAP stores it in appropriate directories.
To reference your own CSS, you use the following, after uploading it through SE80:
<link rel="Stylesheet" type="text/css" href="`mimeURL(language="",name="Our.CSS")`">
The rest will fall in place.
Hope this helps.
Our next issue is how do we reference our JavaScripts, which we also brought into SAP as a MIME object....
Cheers,
Mick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravikanth,
Yes, I did manage to figure out how to reference my JavaScripts in the Mime repository. You insert the following "script" statement at the top of your template:
src="`mimeURL(language="",name="MYJAVASCRIPT.JS")`">
NOTE: the backticks (`) are very important!
Hope this helps.
Cheers,
Mick.
Hi Mick
Thanks a lot for your answer.
Where should I put next sentence ? Inside HTML model of service?
<link rel="Stylesheet" type="text/css" href="`mimeURL(language="",name="Our.CSS")`">
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
G'day Ivan,
You include that statement in the HEAD part of your HTML template;
<html>
<head>
<!-- Stylesheet reference/s -->
<link rel="Stylesheet" type="text/css" href="`mimeURL(~language="",~name="MYSTYLESHEET.CSS")`">
......
<!-- Java.script reference/s -->
<sc.ript type="text/java.script" language="Java.Script1.2" src="`mimeURL(~language="",~name="MYJAVASCRIPT.JS")`"> </sc.ript>
.......
</head>
<body>
....
</body>
</html>
Hope this helps.
Cheers,
Mick.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
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.