cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Changing the Default theme in xMII12.0

HariCS23
Contributor
0 Kudos

Hi Guys,

I am trying to change the default theme.

I have done the following:

1. I have copied the themes folder into my project.

2.changed the defaultheder.xml to refer the new logos.

3.change the defaultheader.xml reference in dynamichomepage.xsl

4.In the navigation,for the one user,i have changed the theme in the Navigation tree.

Still i am not gettin new Logs for the above user.

What would be the wrong??

How to refer the images in Defaultheader.xml??

How to refer the Defaultheader xml file in DynamicHomePage.xsl

Any body has created sample Thems,could you please send.

Thanks for the help.

Vansi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vansi,

1. Very good that you have done a copy of the original files.

- you should have copied the whole Themes Folder from Samples/WEB/Themes/.

under yourProject/Samples/WEB/Themes/.

2. If you have put your images in a seperate Folder in yourProject e.g.

yourProject/WEB/Images

then you have to refer correctly to this in the DefaultHeader.xml.

Example:

<?xml version="1.0"?>

<!BEGIN HOME PAGE HEADER INCLUDE//>

<!--THIS FILE ...

OUTERMOST ELEMENT.//-->

<table cellpadding="0" cellspacing="0" border="0" class="HeaderTable"

style="border-style:solid;border-color:#FFFFFF;">

<tr>

<td bgcolor="white"><img src="/XMII/CM/yourProject/Images/your_logo.gif" /> </td>

<td nowrap="true" class="HeaderTitle" width="93%" align="left">xMII 12.0 is magic</td>

<td bgcolor="white"><img src="XMII/Images/sap_logo.gif" /></td>

</tr>

</table>

<!END HOME PAGE HEADER INCLUDE//>

Don't ask me why but you have to this in this way:

/XMII/CM/yourProject/Images/

were /XMII/CM/ somehow "replaces" the /WEB/.

Somehow the "XMII/Images/sap_logo.gif" works in the original DefaultHeader.xml,

even if you copy it to your browser behind your Servername, but have you ever seen

an Images Folder on the WEB-Tab?

3. Take care about you spelling not

defaultheder.xml or defaultheader.xml or Defaultheader.xml

or what else do you ever have in mind. It is written:

DefaultHeader.xml

4. If there is a mistake somewhere in your DynamicHomePage.xsl or in the DefaultHeader.xml etc.

the default style will be taken automatically. So always change only one part and then check

if it works. If you have troubles with the part you just modified then look up the logfiles.

There should be more information.

Hope this helps

Ciao

Martin

HariCS23
Contributor
0 Kudos

Thanks Martin.

I solved my self.

In the Dynamic homepage,dynamic header we have to give the abosoute paths for the images.

And in the Dynamic home page header,we have to change the path of dynamic hom page libray.

You can actually browse through the path by


<sId instance name>\saploc\XMS\JC00\j2ee\cluster\server0\apps\sap.com\xappsxmiiear\servlet_jsp\XMII\root

Thanks

Hari