Template gets destroyed

About the template and stylesheet - and changing the menu

Template gets destroyed

Postby mikescho » Tue Jun 02, 2009 4:35 pm

My template wich i have made gets destroyed when i want to use it with cmsimple. The CSS Valiador said that my Template is allright and have no mistakes. http://flash.djk4ever.de/Website.zip Here you found my template. I hope you can help me.
mikescho
 
Posts: 2
Joined: Tue Jun 02, 2009 4:32 pm

Re: Template gets destroyed

Postby ZiPs » Tue Jun 02, 2009 7:18 pm

Hi mikescho

Change
Code: Select all
<!--<?=siteHeading()?>-->
to
Code: Select all
<?=sitename()?>

/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
ZiPs
 
Posts: 640
Joined: Thu May 22, 2008 6:17 pm
Location: Faxe, Denmark

Re: Template gets destroyed

Postby mikescho » Tue Jun 02, 2009 7:54 pm

aber mein menü sieht noch so kommisch aus das ist kein drop down
mikescho
 
Posts: 2
Joined: Tue Jun 02, 2009 4:32 pm

Re: Template gets destroyed

Postby mvwd » Wed Jun 03, 2009 6:09 am

...Line 25 in template.htm:
Code: Select all
<?php echo li($hc,'menulevel')?>
instead of
Code: Select all
<?=li($hc,'menulevel')?>
Generally better use <?php instead of <? . For more Infos look -> here.

If there are furthermore problems with your dropdown-menu, it would be nice to post us a link to a existing page. Without that it is difficult to help.

mvwd.
mvwd
 
Posts: 466
Joined: Tue Jun 17, 2008 10:35 pm
Location: Baden Württemberg / Germany

Re: Template gets destroyed

Postby ZiPs » Wed Jun 03, 2009 7:40 am

In template.htm you use
Code: Select all
<div class="menu">
        <div class="menu-inner">
          <?=li($hc,'menulevel')?>
        </div>
      </div>

But in stylesheet.css the menu style is definde by id="nav"

/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
ZiPs
 
Posts: 640
Joined: Thu May 22, 2008 6:17 pm
Location: Faxe, Denmark


Return to Changing layout

Who is online

Users browsing this forum: No registered users and 0 guests