Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2012-12-15 15:59:06
- bashirnoori
- Member
- From: Afghanistan
- Registered: 2012-10-02
- Posts: 84
how to remove extra information from an article?
Hello to all,
I created 3 articles and sections (about, services, contact)
Now when I click to each section, it will show me that article, but want to customize some changes like this:
1. How to remove alternate information form article, such as: Posted 20 minutes ago Comments None Author Administrator
2. How remove the link from the title of each article.
Thank you
Offline
#2 2012-12-15 16:27:10
- milosevic
- Member
- From: Madrid, Spain
- Registered: 2005-09-19
- Posts: 390
Re: how to remove extra information from an article?
Hello, Bashir:
First of all wellcome to Textpattern.
Sections uses pages for building pages (presentation > pages) , and pages uses forms for building some pieces of code like how to present an article, a search results, etc (presentation > forms).
I’m supossing that you are using the default pages and forms (you can create new ones), so you need to edit the form “default” to alter the articles presentation.
Inside the “default” form, look for the tag <txp:title/> (that is the article title), it will the inside a pair of <txp:permlink></txp:permlink> wich are the ones that build the link you want to remove from the title.
Inside the same form “default” now look for a block with the textpattern tags <txp:posted/> <txp:comments_count/> and <txp:author/> and delete it remove it for the “Posted 20 minutes ago Comments None Author Administrator”.
If you want do not delete something but anulate it, you can grab the desired code candidate to die between <txp:hide>…</txp:hide> tags, then save the form/page, reload the site an see the results: If the result is what you wanted you can remove that code safely, else remove the <txp:hide></txp:hide> tags and everything will be like before your trial.
Yo will find a complete documentation about tags functions and usage (and more info and tutorials about Textpattern) here:
Last edited by milosevic (2012-12-15 16:41:55)
<txp:rocks/>
Offline
#3 2012-12-16 03:49:37
- bashirnoori
- Member
- From: Afghanistan
- Registered: 2012-10-02
- Posts: 84
Re: how to remove extra information from an article?
Hi Milosevic,
Thanks a lot for your cooperation, I got all.
once again thank you :-)
Bashir Noori
Offline