Home | Imprint | Sitemap
You are here: Home » Tips & Tricks » Theseus

Theseus

pic_home.gif

Copy this image and paste it into the designfolder of Theseus.

Those who use Web to Date 6.0 have also the new design Theseus available. Although Theseus is a beautiful new design it has one disadvantage. The menubar has no button that refers to the homepage, but this button is in the bottom pagefooter. Like myself many of you might have thought: "Very inconvenient". Well it is something I have succeeded to find a solution for. You must change change a script but it is certainly not too difficult. You can do that like this: First, copy the attached image, which stands above and paste it into the designfolder of Theseus. Call the image pic_home.gif.

If you have done that make a copy of the scripts global.ccml and navigation.ccml so you always have the originals, because you need to make changes in these 2 scripts. Is is possible that you only see notepadfiles with the names global and navigation without the extension ccml. These are the correct ccml files you need to copy first.

Global.ccml

The first thing you do is change the Global script. Not the copy because that is your security in case something goes wrong. If you open the Global scripts you will see following immidiately after opening:

Code

</cc:*>

<cc:picture obj="pic.bullet" dst="pbull.gif" src="pic_bullet.gif" incolor.a="#000000" outcolor.a="#666666">
<cc:picture obj="pic.search" dst="psearch.gif" src="pic_search.gif" incolor.a="#000000" outcolor.a="#666666">

You can copy the code below and paste it under:
<cc:picture obj="pic.search" dst="psearch.gif" src="pic_search.gif" incolor.a="#000000" outcolor.a="#666666">

Code

<cc:picture obj="pic.home" dst="phome.gif" src="pic_home.gif"
incolor.a="#000000" outcolor.a="&usercolor.dark">

The whole looks like this:

Code

</cc:*>

<cc:picture obj="pic.bullet" dst="pbull.gif" src="pic_bullet.gif"
incolor.a="#000000" outcolor.a="#666666">
<cc:picture obj="pic.search" dst="psearch.gif" src="pic_search.gif"
incolor.a="#000000" outcolor.a="#666666">
<cc:picture obj="pic.home" dst="phome.gif" src="pic_home.gif"
incolor.a="#000000" outcolor.a="&usercolor.dark">

<cc:button name="button.s2d"

Now you can save (not save as) Global and close it.

Navigation.ccml

We now continue with navigation. Again, not the copy because this is your security in case something goes wrong. If you've opened navigation search with control F for menubar. It says this (and for you it might be abracadabra).

Code

<div id="menubar">
<cc:loop type="maintopic" obj="mymaintopic"><a onmouseover="CI('pm<cc:print value="&mymaintopic.number">','pm<cc:print value="&mymaintopic.number">h');return true" onmouseout="CI('pm<cc:print value="&mymaintopic.number">','pm<cc:print value="&mymaintopic.number">n');return true" href="<cc:print value="&mymaintopic.url">"><cc:printpicture xhtml="1" alt="&mymaintopic.caption" obj="pic.menu" suffix="'m'+&mymaintopic.number" name="p"></a></cc:loop>
</div>

Copy now the code below and paste it immidiately under <div id="menubar">

Code

<a href="<cc:print value="&home.url">"><cc:printpicture obj="pic.home" border="0" alt="&site.ressource.home"></a>

The whole looks like this:

Code

<div id="menubar">
<a href="<cc:print value="&home.url">"><cc:printpicture obj="pic.home" border="0" alt="&site.ressource.home"></a>
<cc:loop type="maintopic" obj="mymaintopic"><a onmouseover="CI('pm<cc:print value="&mymaintopic.number">','pm<cc:print value="&mymaintopic.number">h');return true" onmouseout="CI('pm<cc:print value="&mymaintopic.number">','pm<cc:print value="&mymaintopic.number">n');return true" href="<cc:print value="&mymaintopic.url">"><cc:printpicture alt="&mymaintopic.caption" obj="pic.menu" suffix="'m'+&mymaintopic.number" name="p"></a></cc:loop>
</div>

Now you can save and close navigation. And if you now preview your website with design Theseus you also have nicely placed a link to your homepage in the menubar.