Page 1 of 1
page is displayed 2 times under each!
Posted: Thu Jun 28, 2012 8:19 pm
by tododesign
Hello,
I started making a website and looked the preview now i saw that my page is displayed 2 times see:
www.tododesign.nl/CMSMS
I hope u can help me:)
Re: page is displayed 2 times under each!
Posted: Fri Jun 29, 2012 5:49 am
by frankmanl
Have a look at your template. Are you sure the template itself is not written in duplicate?
Re: page is displayed 2 times under each!
Posted: Sat Jun 30, 2012 3:47 am
by DIGI3
Perhaps paste your template if you aren't sure. There's some definite shenanigans going on.
Re: page is displayed 2 times under each!
Posted: Sat Jun 30, 2012 8:57 pm
by tododesign
{process_pagedata}<!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" xml:lang="en" >
</head>
<title>{sitename} - {title}</title>
{metadata}
{cms_stylesheet}
</head>
</__body>
<div id="container">
<!-- start header -->
<div id="header">
<!-- start menu -->
<div id="menu">
{menu}
</div>
<!-- end menu -->
</div>
<!-- end header -->
<!-- start banner -->
<div id="banner"></div>
<!-- end banner -->
<!-- start content -->
<div id="content">
<div id="websites_box">
<a href="websites.html"><div class="websites_image"></div></a>
<div class="text_box">
<h3>Wij maken websites met een eigentijds ontwerp, wij onderhouden websites, en zijn gespecialiseerd in het maken van dynamische websites, die goed passen bij de doelgroep van uw bedrijf.</h3>
</div>
</div>
<div id="drukwerk_box">
<a href="drukwerk.html"><div class="drukwerk_image"></div></a>
<div class="text_box">
<h3>Wij ontwerpen tijdschiften, programmaboekjes, posters, flyers, bedrijfskranten, brochures, en huisstijlen met een eigentijds ontwerp voor een betaalbare prijs.</h3>
</div>
</div>
<div id="logos_box">
<a href="logos.html"><div class="logos_image"></div></a>
<div class="text_box">
<h3>Wij ontwerpen logo's met een betekenis, voorafgaand aan het maken van het logo doen we onderzoek over de doelgroep en de fuctie van het bedrijf om tot een passend en orgineel ontwerp te komen.</h3>
</div>
</div>
</div>
<!-- end content -->
<div id="push"></div>
</div>
<!-- end container-->
<div id="footer"></div>
<__body>
</__html>
Re: page is displayed 2 times under each!
Posted: Sat Jun 30, 2012 9:00 pm
by tododesign
yes i am sure the template is not written in duplicate:( can it be that my CMSMS is wrong installed?
Re: page is displayed 2 times under each!
Posted: Sat Jun 30, 2012 9:19 pm
by DIGI3
Lots of items are duplicated in your template there. You have two </head> statements but no <head>. Where is your {content} tag? Why is the content div repeated twice? You have <div> tags inside of <a> tags.
Basically, your entire template is a mess. You need to know basic html structure before you can use cmsms properly.
Re: page is displayed 2 times under each!
Posted: Sun Jul 01, 2012 1:21 am
by Dr.CSS
Some how you have doubled everything in the template/page, are you sure you didn't add the template to the page content?...
Re: page is displayed 2 times under each!
Posted: Sun Jul 01, 2012 5:57 am
by Rolf
Re: page is displayed 2 times under each!
Posted: Sun Jul 01, 2012 9:33 am
by tododesign
thank u:) ye it was twice because i had two times </head> now its good:D sry it was something stupid.
close
Re: page is displayed 2 times under each!
Posted: Sun Jul 01, 2012 3:20 pm
by DIGI3
No problem, now just get that <div> out of the <a> so I can sleep at night.
Re: page is displayed 2 times under each!
Posted: Sun Jul 01, 2012 5:25 pm
by Dr.CSS