Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2011-06-12 11:09:49

pagou
Member
From: Greece
Registered: 2011-03-25
Posts: 23
Website

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

#15 2011-06-13 15:51:09

pagou
Member
From: Greece
Registered: 2011-03-25
Posts: 23
Website

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

#16 2011-06-13 15:54:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,258
Website GitHub Mastodon Twitter

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

#17 2011-06-13 16:29:58

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

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

Board footer

Powered by FluxBB