Embed Wiki into a Website#
You can embed the wiki into a standard website. You can assign your own stylesheet to customize the wiki appearance.
To embed your wiki into an existing website, place an iframe
element with the
following code:
<iframe class="wiki"" src="https://yourTrackServer/track/wiki.action?mainCls=myCustom&
externalCss=http://YourWebServer/files/customWikiStyle.css">Wiki</iframe> ``
The web server should have a CSS stylesheet with a definition for the CSS class “wiki
”:
.wiki {
width:100%;
height:100%;
min-height:700px;
}
This will control the appearance of the iframe
element. You can add a frame, shadows, borders and so on.
On your standard web server, also create a CSS stylesheet for the wiki. You pass the link
to this stylesheet as the parameter externalCss
in the link that defines the iframe
element.
Here is an example of the customWikiStyle.css
from above:
.myCustom{ }
.myCustom #headerMaster { /* Hide the header */
display:none !important;
}
.myCustom #statusBarMaster{ /* Hide the status bar */
display: none !important;
}
.myCustom .westTreeNavigator table .x-grid-row-focused .x-grid-td {
border-bottom: 1px solid #2989d8 !important;
border-top: 1px solid #2989d8 !important;
}
.myCustom .westTreeNavigator table .x-grid-row-selected td {
background-image: none;
background-color:#2989d8; color: #ffffff !important;
}