Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
About Entry
Hi Guys,
I am trying to create a form which outputs meta data for an article when in perma-mode.
The form code I have consists of:
<code><b>About this entry</b><br />
You are currently reading <i><txp:title /></i>, an entry made on <txp:posted /> and filed under <txp:category1 link=“y” />.</code>
On the main page code I have:
<code><txp:if_individual_article>
<txp:output_form form=“AboutEntry” />
</txp:if_individual_article></code>
The output rendered is:
About this entry
You are currently reading , an entry made on 12/03/2006 and filed under .
Any ideas what may be causing this problem? Thanks
Offline
Re: About Entry
You will need txp:article, not txp:output_form.
Offline
Re: About Entry
Thanks, that worked wonderfully.
Offline
Re: About Entry
That seemed to work until I tried to submit a test comment: http://www.thekhans.me.uk/journal/
Now the comment form and preview are duplicated on the right, and I assume it’s got to do with the output type being a form. Any ideas? Some areas of text are also being duplicated when clicking on preview.
Thanks,
Saj
Last edited by snkhan (2006-03-14 00:53:15)
Offline
#5 2006-03-14 01:00:34
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: About Entry
You need to turn comment auto-append off (admin prefs). Then you need to manually add the contents of the “comments_display” form, by either calling it with another article tag, or adding it’s contents to your article form.
Offline
Pages: 1