on 02-06-2014 9:07 AM
Hello
I have problem in edition of some values by Theme editor so I'd like to edit them direct in CSS files ( mainly colors) and then to upload it again to custom theme.
So I made some correction in CSS files and then tried to upload them back.
I copied all files from ZIP with CSS with some modified files to file without CSS - doesn't work. I get an error - time out
Then I tried to add only modified files, but I created also a missing directory ls. There is a progress, no error, but only warning that something went wrong and I should look at log - I was looking but couldn't find any helpful hints. I tried to download zip file to check if my changes were done but values are still unchanged.
Does any one could describe me how to upload modified CSS files? And does changes in CSS files are visible immediately after successful uploading or the the server need to be restarted?
Any help???:-)
Iwona
Hi Iwona,
in your case it's highly recommended to use theme designer tool, then you can change the css files directly by the tool,
for more details about theme designer you can see following links:
https://help.sap.com/saphelp_nw73/helpdata/en/22/7b3a3a4b814c4d8e9cf52a99cf6240/content.htm
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/8e/a763272dcd4b4ba6ea347050b1f3fc/content.htm
Regards,
Mahmoud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Guys
Maybe I describe how I find object to modification. I downloaded files from server from the directory you suggested. I opened portal in Firefox, I clicked on developement tools, highlighted object that has a wrong color or font size, and checked witch attribute I have to change , e.g. I had an object name .urPWSeperator and .urPWInnerBorder for popup message and names of attributes - border-color and background-color. Then I was searching these names of objects in all CSS files:
CSS\ur\ls\ls_ie6.css
CSS\ur\ls\ls_ie6.marked.css
CSS\ur\ls\ls_ie6.nosprite.css
CSS\ur\ls\ls_standard.css
CSS\ur\ls\ls_standard.marked.css
CSS\ur\ls\ls_standard.nosprite.css
CSS\ur\ls\ls_standards.css
CSS\ur\ls\ls_standards.marked.css
CSS\ur\ls\ls_standards.nosprite.css
I changeed values for colors and then I copy it back to the server. Restart a server and...nothing.
I was also investigated .properties files and it looks thet there are some name of objects but they differ from names of the object that I can identify through Firebug.
No successes!
Any suggestion?
Iwona
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Iwona,
These 3 blogs may help you further:
For the old Theme editor you can use two files to search for the definition: ls.designpart and ur.designpart. There should be a reference to the properties files also. Don't modify the css file itself, it is being generated while uploaded
Hi Noel
I was looking for those files in downloaded archives using both methods -
System Administration - Transport - Transport Themes and
Content Administration - Portal Display - Download Theme Type
but I don't see those files. Can you please tell me the path, where can I find this files?
Best wishes
Iwona
Hi Iwona,
You could:
1. Download Theme on Teme Transport section.
2. Modify zip contents (CSS, images, etc)
3. Upload again into Transports section
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angel
Thanks for your quick replay but I was trying to do more or less like you wrote but with no success. So maybe I will describe all steps and please correct me if am wrong.
1. Download Theme on Teme Transport section.
There are two ways to download files from portal. One way: System Administration - Transport - Transport Themes - this way you don't have important CSS files. To have files with all CSS you can go Content Administration - Portal Display - Download Theme Type. Here you download three zip files: portal, ur and its. Inside them I can find all CSS files where I can make modification.
2. Modify zip contents (CSS, images, etc)
I found a name of object and then I made changes in all CSS files.
3. Upload again into Transports section
I assume that you wrote about System Administration - Transport - Transport Themes. I was trying to upload theme_name.zip. As this files doesn't contains all CSS files instead of original files portal.zip ur.zip and its.zip I attached whole archives downloaded by Download Theme Type. It took a long time and in the end I got an error. The file is too long?
Then I tried to add only modified CSS files and missing directories but I got a warning and it didn't work neither.
In this case can you please describe more detailed this step. Or maybe I am doing something wrong earlier.
Thanks for you help
Iwona
Hi Andreas
It is still not working. The problem is that the structure of files differs:
In theme_name.zip the structure is as in the attachment theme_name. The structure of zipped file that I can download is different - as you can see attachment ur.zip. So how should I combine them into one file theme_name.zip. Which structure is correct?
BTW This 7.3 version and maybe it is different than earlier?
I have any ideas how to deal with it
Best wishes
Iwona
Hi Angel
Sorry that I changed your name.
As I understand the correct structure of the imported file is theme_name.zip file, but
it doesn't contains any CSS files. File like e.g. ls_ie5.css (where I can change attributes for object e.g. urPWInnerBorder) is in another archive downloaded from Content Administration - Portal Display - Download Theme Type - zipped file.
When should I copy this CSS file to theme_name.zip. To which directory?
It sounds very easy but it doesn't work.
Iwona
Hi Artur
I see that you have another vision but I would need more information.
Downloading is easy so let's go to the next step.
I want to set a background-color: #1A5325 for the object .urPWInnerBorder. In *.properties files I don't see any entries with this object. So how should I proceed? In this archive there are 16 files of this kind and inside I don't see anything that looks like object's name.
I am really confused.
Best wishes
Iwona
Hi Iwona,
The reason why I asked you to work with *.properties files is that I have a feeling that SAP Portal treats these files as a theme source code, from which all CSS files are generated. But... this is just a gut feeling.
Anyway - you asked a tough question : ) In default.properties I only see border color parameters for that object. Nothing that would look like background color.
Can you maybe try adding property such as parPWInnerBorderBackground or parPWInnerBorderBackgroundColor to default.properties file ?
Alternatively you might try editing css files directly on the Application Server under following path:
\usr\sap\SID\JXX\j2ee\cluster\apps\sap.com\com.sap.portal.design.urdesigndata\servlet_jsp\com.sap.portal.design.urdesigndata\root\themes\portal\
or
\usr\sap\SID\JXX\j2ee\cluster\apps\sap.com\com.sap.portal.design.portaldesigndata\servlet_jsp\com.sap.portal.design.portaldesigndata\root\themes\portal\
?
Instance restart might be needed afterwards.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.