Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: html to TXP template. Need help.
I did it sometimes until to find out what am doing wrong. Finally the big mess was that I paste the change into a backup of the default page, and not I the default page
But the render don’t looks like the original,
original
http://gourni.co.cc/UrbanArtist11/
Txp
http://gourni.co.cc/
here is my code until now
<txp:output_form form="header" />
<!-- content-wrap starts -->
<div id="main">
<txp:article />
<!-- main ends -->
</div>
<txp:output_form form="sidebar" />
<!-- content-wrap ends-->
</div>
<txp:output_form form="footer" />
Last edited by pagou (2011-06-12 11:11:59)
don’t shut, am just begin.
Offline
#14 2011-06-12 13:02:57
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: html to TXP template. Need help.
You open one div and close two.
Offline
Re: html to TXP template. Need help.
some help with this Div please.
i also replace my code with michaelkpate, and still there are wrong rendering.
cant understand my mistake.
don’t shut, am just begin.
Offline
Re: html to TXP template. Need help.
Yia sou Panagiotis
Try
<txp:output_form form="header" />
<!-- content-wrap starts -->
<div id="main">
<txp:article />
<!-- main ends -->
</div>
<div>
<txp:output_form form="sidebar" />
<!-- content-wrap ends-->
</div>
<txp:output_form form="footer" />
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: html to TXP template. Need help.
Pagou, it looks to me like you are leaving out the content wrap div.
<!-- content-wrap starts -->
<div id="content-wrap">
You are closing it, but not opening it.
Offline