Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-09-25 20:07:04
- francis_dean_10
- New Member
- Registered: 2006-09-15
- Posts: 9
<txp:posted /> question
so I know that.
<code>
<txp:posted />
</code>
Turns into
<code>
<p>POSTED DATE</p>
</code>
It adds a <p> wrap tag automatically, but is there anyway you would be able to not have the <p>?? So you could have the posted date on the same line as a paragraph. What I want to do is have the posed date by part of the paragraph of the body text, but as the same line, not a new paragraph.
Offline
Re: <txp:posted /> question
Strange. It doesn’t add a wraptag by default… but you could try <code><txp:posted wraptag=”“ /></code>
Offline
#3 2006-09-25 21:39:49
- rsilletti
- Moderator

- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: <txp:posted /> question
If txp:posted / is being rendered with p tags, then they are part of the markup in the article form you are using (I’m guessing “default”), txp:posted / doesn’t wrap that way automatically. Edit your article form’s markup to remove them.
Offline
#4 2006-09-25 21:45:21
- rsilletti
- Moderator

- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: <txp:posted /> question
txp:posted is pretty simple, it returns a date and will take a “format”, “gmt”, and “lang” for presentation and time settings, nothing for markup though.
Offline
#5 2006-09-26 06:25:02
- rsilletti
- Moderator

- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: <txp:posted /> question
Does now! changeset
Last edited by rsilletti (2006-09-26 06:25:34)
Offline
Pages: 1