Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-01-12 16:51:26
- Kosmo
- Member
- Registered: 2005-10-06
- Posts: 22
Sticky vs. live, section index and pages below
I have another site running on top of Textpattern and it has multiple sections and each section has an index page, and multiple sub pages. I remember doing it with live for the section index and sticky + linking it by hand for the sub pages.
Now I don’t know if this is a “feature” in TXP 4.0.4 or if my installation is broken, but when I sticky a site it doesn’t show on the section index (which is good) but it even doesn’t show in the article page either. So there is a page for the article, it doesn’t give me an error when I type the address to the address bar by hand and go to the page, it even shows the page title on top of the browser. But there is no text whatsoever.
I’m only using one page template and one style because only thing that changes throughout the whole site is the content (the title and the body) everything else is the same.
Now, I’m pretty sure that I forgot to do a step here or there because the other site I set up with TXP only has <txp:article /> tag in each page template, but it still shows the stickied articles. What gives?
Offline
#2 2007-01-13 02:11:09
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Sticky vs. live, section index and pages below
You have to add the status="sticky"
attribute to an article tag to display them. If you want both sticky and live articles to display, then you’ll need to have two article tags in your page template.
Offline
#3 2007-01-15 18:50:58
- Kosmo
- Member
- Registered: 2005-10-06
- Posts: 22
Re: Sticky vs. live, section index and pages below
Did it work without adding the status to the article tag in the previous version (4.0.3) since it works like like a charm in the previous website I made and it’s page template doesn’t have the status sticky added to it’s article tag.
I really don’t remember IF and WHAT I did differently in the previous site since it has been so long since I worked on it.
Offline
Re: Sticky vs. live, section index and pages below
^ I think I am having the same exact problem as yours. I didn’t put the status="sticky"
attribute either in my previous static pages, but when I want to create a new one, it doesn’t work.
I’ve also tried putting said attribute above, and it doesn’t work either.
Offline
#5 2007-01-16 09:59:32
- Kosmo
- Member
- Registered: 2005-10-06
- Posts: 22
Re: Sticky vs. live, section index and pages below
There has to be difference between 4.0.3 and 4.0.4 because the site I made earlier still uses the 4.0.3 and it works this way. When an article is put live it is shown on /section/ and when an article is stickied it is shown on /section/article why 4.0.4 works differently?
This is going to be a big problem when I upgrade the old sites to use 4.0.4
Offline
Re: Sticky vs. live, section index and pages below
I noticed the same thing when I upgraded. In 4.0.3, sticky articles were returned unless they were explicitly excluded. it now seems like they need to be explicitly included. hopefully, for most people it’ll just mean changing a couple of tags.
Offline