Elxis CMS Forum
Extensions => Templates => Topic started by: mullerrwd on July 12, 2007, 17:40:16
-
Hello everyone. I am trying to convert my own template into elxis one but everything good wrong:
look at
rwdweb.nl
I also have my own menu.
And my menu is built in a really funny way. Because each item has its own style.(hover)
http://test.rwdweb.nl/ ==> here you can see how the menu has to look like, but how do I apply links to it???
I have been searching everywhere on elxis but cannot find anything.
index.php
<?php
/*
* Template: Rwdweb
* For Elxis CMS
* Robert Muller
* info@rwdweb.nl
* Rwdweb.nl
* July 2007
*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php mosShowHead(); ?>
<?php if ( $my->id ) { initEditor(); } ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/rwdweb/css/template_css.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="margin" id="top"><div id="topmenu">
<ul>
<li><a href="#" id="topmenu3" accesskey="3" title=""></a></li>
<li><a href="#" id="topmenu2" accesskey="2" title=""></a></li>
<li><a href="#" id="topmenu1" accesskey="1" title=""></a></li>
</ul>
</div></div>
<div class="margin" id="middle"><div id="content">
<?php mosPathWay(); ?><br />
<?php mosMainBody(); ?></div></div>
<div class="margin" id="bottom">
<ul id="navigation">
<li id="home">
<a href="#" class="style4"><strong>Rwd</strong>web<br /><span class="style6">Goals & Objectives</span></a>
</li>
<li id="portfolio"><a href="#" class="style4" ><strong>Port</strong>folio<br />
<span class="style6">Creations & Clients</span><br />
</a></li>
<li id="solutions"><a href="#" class="style4"><strong>Solu</strong>tions<br />
<span class="style6">Services & Solutions</span></a></li>
<li id="work"><a href="#" class="style4"><strong>Wo</strong>rk<br />
<span class="style6">Jobs & Partners</span></a></li>
<li id="about"><a href="#" class="style4"><strong>Ab</strong>out<br />
<span class="style6">You & Me</span></a></li>
</ul>
</div>
<div class="margin" id="footer">
<div>
<div id="footer"><?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?></div>
</div>
</div>
</body>
</html>
I have attached my whole template here. because I don't now what is going wrong.
I would really appreciate it if someone could help me on my way using elxis.
thanks in advance
robert muller
[old attachment deleted by admin]
-
This file is empty:
http://rwdweb.nl/templates/rwdweb/css/template_css.css
You have no css at all.
You have enable SEF but seems you dont have a valid htaccess file.