Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-12-18 03:55:29
- systyrant
- New Member
- Registered: 2006-12-18
- Posts: 8
Can the article name and posted date be seperated?
I’m looking at the <!— center —> portion of the default page and I’m wondering if instead of <txp:article /> there’s some other tag or even options for the article tag that would allow me to separate the article title from the posted date?
I would like to be able to do the following:
Article Title Here.
January 1, 2006
Article body here…
Offline
Re: Can the article name and posted date be seperated?
Look at the default form in Presentation -> Forms
There you will find tags like <txp:body />
, <txp:posted />
, <txp: title />
, etc.
Those are article tags that will let you create your own customized forms and display the content as you like.
Fory your example, you can do
<h2><txp:title /></h2>
<p><txp:posted /></p>
<txp:body />
Get it?
Offline