Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2011-01-31 20:34:37

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Json, http://neumund.kliklak.net/news – or ../about or ../contact or ../live
Thanx much for looking.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#14 2011-01-31 20:57:57

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

OK, http://neumund.kliklak.net/news then. So this is the individual article page for the article titled “News”. Is “News” a sticky article?


Code is topiary

Offline

#15 2011-01-31 20:59:47

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

No, it’s status is LIVE. Should be the same, as when you read http://neumund.kliklak.net/ without any further article titles in the URL.

It appears to be sticky, as it has ID=1, referenced in the page like this:
bq. <txp:if_individual_article><txp:article /> <txp:else /><txp:article_custom id=“1” /></txp:if_individual_article>

Last edited by jayrope (2011-01-31 21:15:08)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#16 2011-01-31 21:13:46

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Is 2011-01-31 12:17:12 a past timestamp for this server’s TZ?


Code is topiary

Offline

#17 2011-01-31 21:16:48

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Yes it is. I set this txp install to my own timezone, which is GMT+1, currently 22:16 on Jan 31, 2011, DST not enabled, otherwise it would show one hour later.

Last edited by jayrope (2011-01-31 21:18:34)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#18 2011-01-31 21:22:00

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Sorry, my question was irrelevant. I admit, I am puzzled. Is the article current (posted in the past, not expired)?


Code is topiary

Offline

#19 2011-01-31 21:29:33

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

It is current (posted in the past) like all others, has no expiry date whatsoever, most probably, because they didn’t exist in 4.0.5. articles.
Meanwhile i realize, that any individual article in any section does not appear. The search field below the head navigation returns results, though. Type “air” into the search field and hit enter. The resulting articles do again not appear individually, though.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#20 2011-01-31 21:30:19

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Also, let’s check that the db was correctly updated. For example, does txp_file have a “title” column?


Code is topiary

Offline

#21 2011-01-31 21:31:53

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

And did the default article form survive the upgrade intact?


Code is topiary

Offline

#22 2011-01-31 21:31:56

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Here’s a repost of the current state of tag report of an individual article. As one can see the article tag shows up near the end of it, but the actual content is not returned, not even in the rest of the source code:

[Page: default]
<txp:page_title />
<txp:feed_link flavor=“atom” format=“link” label=“Atom” />
<txp:feed_link flavor=“rss” format=“link” label=“RSS” />
<txp:css format=“link” />
<txp:link_to_home> <txp:site_name />
</txp:link_to_home>
<txp:output_form form=“topnav” /> [SQL (5.3882598877E-05): select Form from txp_form where name=‘topnav’] [Form: topnav] <txp:search_input label=”“ section=“artist” size=“9” wraptag=”“ /> [SQL (4.98294830322E-05): select form from txp_form where `name` = ‘search_input’ limit 1]
<txp:output_form form=“artists” /> [SQL (5.00679016113E-05): select Form from txp_form where name=‘artists’] [Form: artists] <txp:recent_articles break=“li” category=“news” label=“artists” labeltag=“h3” limit=“9999” section=“artist” sort=“Title asc” wraptag=“div” /> [SQL (0.00138187408447): select *, id as thisid, unix_timestamp(Posted) as posted from textpattern where Status = 4 and Section IN (‘artist’) and (Category1 IN (‘news’) or Category2 IN (‘news’)) and Posted <= now() and (now() <= Expires or Expires = ’0000-00-00 00:00:00’) order by Title asc limit 0,9999]
<txp:if_section name=“artist”> [<txp:if_section name=“artist”>: false]
</txp:if_section>
<txp:feed_link flavor=“rss” label=“RSS news feed” section=“article” wraptag=“p” />
<txp:if_search> [<txp:if_search>: false]
</txp:if_search>
<txp:if_individual_article> [<txp:if_individual_article>: true] <txp:article />
</txp:if_individual_article>
[ ~~~ secondpass ~~~ ] —>


A hole turned upside down is a dome, when there’s also gravity.

Offline

#23 2011-01-31 21:33:04

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

Yes, the default article form survived. It contains a title and a body tag, as needed. Looks liek this:

<div class="title-left">
<h3><txp:permlink><txp:title /></txp:permlink></h3>
</div>
<div class="datelog">
<a href="<txp:site_url />textpattern/index.php?event=article&step=edit&ID=<txp:article_id />">~ </a><txp:posted />
</div>
<txp:body />
<p>&nbsp;</p>

Last edited by jayrope (2011-01-31 21:34:08)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#24 2011-01-31 21:41:30

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [SOLVED] Update 4.0.5. to 4.3.0 -> txp:article tags don't work

And new DB columns? textpattern has an “Expires” column, for instance?

Edit: with the value correctly set to 0000-00-00 00:00:00 for all articles?

Last edited by jsoo (2011-01-31 21:43:38)


Code is topiary

Offline

Board footer

Powered by FluxBB