Elxis CMS Forum

Extensions => Templates => Topic started by: mullerrwd on July 12, 2007, 17:40:16

Title: First try
Post 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
Code: [Select]
<?php
/*
* Template: Rwdweb
* For Elxis CMS
* Robert Muller
* info@rwdweb.nl
* Rwdweb.nl
* July 2007
*/
defined( &#39;_VALID_MOS&#39; ) or die( &#39;Direct Access to this location is not allowed.&#39; );
// needed to seperate the ISO number from the language file constant _ISO
$iso explode( &#39;=&#39;, _ISO );
// xml prolog
echo &#39;<?xml version="1.0" encoding="&#39;. $iso[1] .&#39;"?&#39; .&#39;>&#39;;
?>

<!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 &amp; Objectives</span></a>
    </li>
    <li id="portfolio"><a href="#" class="style4" ><strong>Port</strong>folio<br />
        <span class="style6">Creations &amp; Clients</span><br />
    </a></li>
    <li id="solutions"><a href="#" class="style4"><strong>Solu</strong>tions<br />
    <span class="style6">Services &amp; Solutions</span></a></li>
    <li id="work"><a href="#" class="style4"><strong>Wo</strong>rk<br />
    <span class="style6">Jobs &amp; Partners</span></a></li>
    <li id="about"><a href="#" class="style4"><strong>Ab</strong>out<br />
    <span class="style6">You &amp; Me</span></a></li>
   
  </ul>
</div>
<div class="margin" id="footer">
  <div>
    <div id="footer"><?php include_once( $GLOBALS[&#39;mosConfig_absolute_path&#39;] . &#39;/includes/footer.php&#39; ); ?></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]
Title: Re: First try
Post by: datahell on July 12, 2007, 18:29:46
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.