Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2012-01-28 18:57:53
- babbish
- New Member
- Registered: 2012-01-23
- Posts: 9
How do I create an archive type page for a separate category?
Hi, I would like to replicate what happens when I click on ‘Articles’ so it shows the index like page. I created a new section called ‘reviews’ and would like for it to show like an index when you click on it instead of the last post made in ‘reviews’. I am guessing that I need to make a new form but not to sure what I need to do for it to work.
Thanks in advance.
Last edited by babbish (2012-01-28 18:58:50)
Offline
Re: How do I create an archive type page for a separate category?
babbish, do a quick read of How are sections and categories different?. I know it seems like categories and sections can be used interchangeably, but they are very different things.
If you look closely at http://blog.babbish.com/reviews/ and http://blog.babbish.com/reviews/7/razer-onza-review, they are actual displaying different things (look at the posting date). There seems to be an issue with your template for the reviews section. Did you copy and paste the one from archives?
Offline
#3 2012-01-28 19:31:35
- babbish
- New Member
- Registered: 2012-01-23
- Posts: 9
Re: How do I create an archive type page for a separate category?
When I created the template, I just used the way thats built in and it is using the default pages, what is making the times different? I hadn’t noticed that until you pointed it out.
Before I posted this I went back and had a second look and instead of using the default page I chose archive which makes it show how I wanted.
Was this also causing the time issue? I don’t remember copying and pasting anything when making the reviews section.
Offline
#4 2012-01-28 20:08:52
- babbish
- New Member
- Registered: 2012-01-23
- Posts: 9
Re: How do I create an archive type page for a separate category?
Do you know what would make the times different? This doesn’t make sense to me, can you tell me where the code for time resides?
Offline
Re: How do I create an archive type page for a separate category?
<p class="published"><txp:posted /></p>
You can find this in the default article form. I really shouldn’t have mentioned it though because that is controlled by Preferences | Publish | Date Format rather than the actual code in the template (sorry, I hadn’t looked at the default templates in a while).
Offline
#6 2012-01-28 20:24:19
- babbish
- New Member
- Registered: 2012-01-23
- Posts: 9
Re: How do I create an archive type page for a separate category?
OK, thanks again so much for your help, you are helping me understand this stuff so much better and I do appreciate it immensely. I wish I could upvote you or something.
Last edited by babbish (2012-01-28 20:31:10)
Offline