Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-02-10 23:06:21
- dingoboy
- Member
- Registered: 2006-09-07
- Posts: 48
My sticky article disappeared after TXP upgrade?
After I upgraded to Textpattern 4.0.4 on a site I’ve worked on, the content of my sticky news article doesn’t show. It’s nicely on top of the list, with excerpt etc., but when you click on the link — the article seems empty (though it isn’t).
This error didn’t occur in 4.0.3.
Check out the site and this is the sticky article
Weird, huh?
Offline
#2 2007-02-11 18:01:49
- dingoboy
- Member
- Registered: 2006-09-07
- Posts: 48
Re: My sticky article disappeared after TXP upgrade?
Does somebody have any idea, what this is – or could be – about?
Please help if you can. :-/
Offline
#3 2007-02-11 20:35:46
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Offline
#4 2007-02-12 00:41:53
- dingoboy
- Member
- Registered: 2006-09-07
- Posts: 48
Re: My sticky article disappeared after TXP upgrade?
Thanks zem, but I already tried the steps recommended in the FAQ.
The really weird thing is, this problem exclusively occurs with the sticky article(s), though it is displayed with the same template as regular, published articles. No separate forms used either…
Summarising:
- Sticky article excerpt and header is displayed fine in my articles list (on top of the other articles),
- Sticky article’s content is excluded, when the full article should be shown,
- All other articles are fine, even though they all share the same template,
- No error messages,
- This problem occured just after i upgraded from 4.0.3 to 4.0.4 — no other changes made and no errors prior to upgrade.
Offline
#5 2007-02-12 13:37:51
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: My sticky article disappeared after TXP upgrade?
Do you use ‘override form’ for the sticky article? If so, check in advanced preferences if ‘Allow form override?’ is set to ‘yes’.
Offline
#6 2007-02-12 14:32:58
- dingoboy
- Member
- Registered: 2006-09-07
- Posts: 48
Re: My sticky article disappeared after TXP upgrade?
I don’t use the override function. Everything is the same as for those articles that still work without trouble.
By the way, here is the code I use to display the list of articles on my default page, and the code for displaying the individual news article:
Default:
<txp:article_custom form="default" listform="newslist"
section="news" status="sticky" limit=1 />
<txp:article_custom form="default" limit="3" section="news"
sortby="Posted" sortdir="desc" status="live" listform="news" />
Subpage:
<txp:article form="default" listform="newslist" limit="15"
offset="3" allowoverride="1" />
<txp:if_individual_article>
<p class="related_links">
<txp:link_to_prev>»<txp:prev_title />«</txp:link_to_prev>
<txp:link_to_next>»<txp:next_title />«</txp:link_to_next>
</p>
</txp:if_individual_article>
<txp:if_article_list>
<p class="indentlink">
<txp:older>« Se ældre nyheder</txp:older>
<txp:newer> » Se nyere nyheder</txp:newer></p>
</txp:if_article_list>
The subpage hasn’t been changed for months, except for the allowoverride="1" added just for tryouts, after els’ suggestion. I’m not able to find any errors in the above…
Last edited by dingoboy (2007-02-12 14:40:30)
Offline
Re: My sticky article disappeared after TXP upgrade?
<txp:article form="default" listform="newslist" limit="15"
offset="3" allowoverride="1" />
I think there have been some slight changes between 4.0.3 and 4.0.4 and the way it works with the sticky and live articles. I remember a thread where zem and ¿wet? were talking about this.
Try this:
<txp:article status="sticky" />
<txp:article form="default" listform="newslist" limit="15"
offset="3" allowoverride="1" />
Look at this thread for more info.
Last edited by maniqui (2007-02-14 00:03:58)
Offline
#8 2007-02-12 22:20:07
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: My sticky article disappeared after TXP upgrade?
I think it is because the attribute ‘listform’ is deprecated for article_custom (because this is always a list). Use form="newslist" in the article_custom tag for your sticky article.
Offline
#9 2007-02-13 23:59:29
- dingoboy
- Member
- Registered: 2006-09-07
- Posts: 48
Re: My sticky article disappeared after TXP upgrade?
Maniqui: Sorry, but it doesn’t do the trick.
Els: You are absolutely right! I changed it. However this doesn’t fix the problem either.
I’m thinking that since everything looks just the way it should on the default page (a list of articles, sticky on top), the error should be in the subpage, logically. But as stated before, I am perfectly sure that I have not changed anything in this page for months, before this problem occured calling for a solution.
Any suggestions on how to fail safe the subpage, in which the articles are shown in their full length (or should be, at least)?
Since this all happened as I upgraded from 4.0.3, I’ve started to wonder if I should just try to switch back, but I’d really like to avoid that too…
Offline
#10 2007-02-14 00:08:24
- dingoboy
- Member
- Registered: 2006-09-07
- Posts: 48
Re: My sticky article disappeared after TXP upgrade?
I shouldn’t forget to metion, that while everything seems fine on the site now, it’s only because I changed the problematic article’s status to published in stead of sticky (it happens to be the latest contribution so it’s still shown on top).
Offline
Re: My sticky article disappeared after TXP upgrade?
Hi.
Take a look at this threads: 1, 2
There may be useful information.
Also, I suggest to disable plug-ins one by one just to see if this makes any difference.
Also, try simplifying things, or even, create a simple escenario (another section, a dummy sticky article) to see if you can find out anything else.
Offline
#12 2007-02-14 01:42:39
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: My sticky article disappeared after TXP upgrade?
The tag trace should tell you everything you need to know. As recommended in the FAQ.
Alex
Offline