Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-01-02 06:55:49
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
New problem
in the page template I use this
<div id=“content”>
<txp:output_form form=“content” />
</div>
which calls the following form
<txp: if_individual_article display=“article”>
<txp: else />
<txp: display=“list” />
</if_individual_article>
<txp:article form=“article” listform=“excerpt” />
and the article and excerpt forms are like this (excerpt)
<div id=“main_content”> <h3><txp: title /></h3>
<txp:permlink><txp:excerpt /></txp:permlink>
</div>
(and article)…
<div id=“main_content”>
<h3><txp:title /></h3>
<txp:body />
<txp:link_to_prev>Previous Article</txp:link_to_prev><txp:link_to_next>Next Article</txp:link_to_next>
</div>
The problem comes when I view source code for page in browser, and it looks like this…
<div id=“content”>
<txp: if_individual_article display=“article”>
<txp: else />
<txp: display=“list” />
</if_individual_article>
<div id=“main_content”> <h3><txp: title /></h3>
<a rel=“bookmark” href=“http://localhost/example.dev/articles/4/eloisa-and-the-scene-of-writing-in-popes-eloisa-to-abelard”><p> …</p></a>
</div>
<div id=“main_content”> <h3><txp: title /></h3>
<a rel=“bookmark” href=“http://localhost/example.dev/articles/3/death-of-the-i-double-suicide-in-the-tell-tale-heart”> <p>From the moment…</p></a>
</div>
<!—end “content”—!>
</div>
The problem is that it still shows the txp tags in the source code…Why?
Offline
Re: New problem
<txp: display=“list” /> ????… no such tag
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2008-01-02 07:06:30
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: New problem
problem solved.
Offline
Pages: 1