on 04-02-2008 8:01 PM
I have searched the forum and read many of the threads on this. So here is what I did:
1. Copied the sample project.
2. Moved all the files in the themes folder to my project/themes.
3. Changed a user to have the theme in my project.
It doesn't seem to change the heading - theme of the page when the user logs onto xMII.
I must have an error in the code. But I can't see it. I'll cut and past the code here. If anyone can see the error and let me know - I'd appreciate it. I just want to remove xmii and put the word development in the heading.
Thank you!
Michelle
DynamicHomePage.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" media-type="text/html" encoding="UTF-8"/>
<!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
<!USER CONFIGURABLE PARAMETERS>
<!This is the Cascading Style Sheet that defines the style of the home page. It is defined with a relative or absolute path.>
<xsl:param name="HomePageCSS">HomePage.css</xsl:param>
<!This is the xml document to include as the header. The file must be well-formed and contain at least one item with the 'height' attribute defined. The path to this file must be absolute.>
<xsl:param name="HeaderURL">/XMII/CM/Dashboard/Themes/DefaultHeader.xml</xsl:param>
<!Show or hide the tab items. Set this to 1 or 0, true or false.>
<!NOTE: The first tab item is also the start page for the main content area, whether tabs are displayed or not.>
<xsl:param name="ShowTabs">1</xsl:param>
<!Show or hide the navigation item tree. Set this to 1 or 0, true or false.>
<xsl:param name="ShowNavigationTree">1</xsl:param>
<!This is a flag to determine whether to wrap long navigation items. Set this to 1 or 0, true or false.>
<xsl:param name="WrapNavigationItems">0</xsl:param>
<!Show or hide the footer. Set this to 1 or 0, true or false.>
<xsl:param name="ShowFooter">0</xsl:param>
<!This is the xml document to include as the footer. The file must be well-formed and contain at least one item with the 'height' attribute defined. The path to this file must be absolute.>
<xsl:param name="FooterURL">DefaultFooter.xml</xsl:param>
<!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
<!PRIVATE PARAMETERS...DO NOT MODIFY!!!>
<xsl:param name="FILE_LOCATION"/>
<xsl:param name="URL_LOCATION"/>
<xsl:param name="BrowserType">Unknown</xsl:param>
<xsl:param name="BrowserVersion">4.0</xsl:param>
<xsl:param name="PageWidth">1024</xsl:param>
<xsl:param name="PageHeight">596</xsl:param>
<!LOCALIZATION>
<xsl:param name="XTOL_SHOW_NAV_TREE"/>
<xsl:param name="XTOL_HIDE_NAV_TREE"/>
<xsl:param name="XLBL_ILLUMINATOR_MIP"/>
<xsl:param name="XLNK_LOGOUT"/>
<xsl:param name="XBUT_REFRESH"/>
<xsl:param name="XTNT_HELP_DOCS"/>
<!END LOCALIZATION>
<!END PRIVATE PARAMETERS>
<xsl:include href="DynamicHomePageLibrary.xsl"/>
</xsl:stylesheet>
DefaultHeader.xml
<?xml version="1.0"?>
<!BEGIN HOME PAGE HEADER INCLUDE//>
<!--THIS FILE MUST BE SAVED WITH A .XML EXTENSION!!
IT MUST BE WELL FORMED!! EVERY NODE MUST HAVE A CLOSING NODE OR /.
ADDITIONALLY, AT LEAST ONE ELEMENT MUST HAVE A height ATTRIBUTE DEFINED!!
THIS ALLOWS THE HOME PAGE TO KNOW THE SIZE OF THE HEADER. IF YOU WANT IT
A CERTAIN SIZE, ADD A height ATTRIBUTE TO THE table ELEMENT, OR OUTERMOST ELEMENT.//-->
<table cellpadding="0" cellspacing="0" border="1" class="HeaderTable" style="border-style:solid;border-color:white;">
<tr>
<td><img src="/XMII/Images/header_notch.gif" style="width:15px;height:30px;"/></td>
<td align="center" nowrap="true" class="HeaderTitle" >DevI</td>
<td><img src="/XMII/Images/customer_brand_image.jpg" /></td>
<td width="100%" align="left"> </td>
<td bgcolor="white"><img src="/XMII/Images/sap_logo.gif" /></td>
</tr>
</table>
<!END HOME PAGE HEADER INCLUDE//>
I tried the change, it didn't work. I think I still have something wrong.
Thank you!
Michelle
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which logs should I look at?
Actually it is a role that I'd like to use. But I thought I'd start with a test user getting the correct theme, and then move it to the role.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using the following in Header XML
<?xml version="1.0"?>
<table cellpadding="0" cellspacing="0" border="1" class="HeaderTable" style="border-style:solid;border-color:white;">
<tr>
<td></td>
<td align="center" nowrap="true" class="HeaderTitle" >DevI</td>
<td></td>
<td width="100%" align="left"> </td>
<td bgcolor="white"></td>
</tr>
</table>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.