Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-27 14:51:11

MarcoK
Plugin Author
From: Como
Registered: 2006-10-17
Posts: 248
Website

How terminate a template parsing?

Hi all.

I need to terminate a template parsing into a determinated line.

For example:

<txp:output_form form=“head” />
<div id=“body”>
<div id=“about”>

<txp:end_template />

<p>This must not show!</p>
</div>
<hr />
<txp:output_form form=“footer” />

How command i must insert into a end_template function to obtain that the page was printing but only to a row that call this function?

Thanks for ideas!

Offline

#2 2008-11-27 15:30:03

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: How terminate a template parsing?

<txp:hide>
	<p>This must not be shown!</p>
</txp:hide>

Offline

#3 2008-11-28 12:01:03

MarcoK
Plugin Author
From: Como
Registered: 2006-10-17
Posts: 248
Website

Re: How terminate a template parsing?

no. with this tag i hide a determinated text. but i must close my tag. i need a tag that i must not close!

I think that i wont is not possible.

Offline

#4 2008-11-28 12:19:49

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How terminate a template parsing?

Maybe it will help if you explain why you want to this?

Offline

Board footer

Powered by FluxBB