Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2017-02-18 14:55:28

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Recent_articles Tag

Hm, just a speculation as I don’t find proof in History.txt, but I have a vague “forum memory” as if listform had been totally deprecated lately. Try form instead.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#14 2017-02-18 15:32:22

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Recent_articles Tag

According to the docs listform is deprecated in <txp:article_custom> since Textpattern version 4.0.4.

Offline

#15 2017-02-18 15:48:04

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Recent_articles Tag

pageby isn’t part of <txp:article_custom> until Textpattern version 4.6.2. Why do you not use the <txp:recent_articles> tag? In Textpattern 4.6 was added the offset attribute.

Offline

#16 2017-02-18 21:45:42

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: Recent_articles Tag

Thanks all! it is now back working again,

BUT NOTE : what I had was working just fine in version TxP 4.5.7
So i can only deduce the change to break the syntax happened in 4.6.2

“listform has been totally deprecated lately. Try form instead.”

yes thanks – i changed it to:
<txp:article_custom  form="article_listing_title"  limit="4"  offset="3"  pageby="4"  section="article"  />	 

pageby=“4” still seems valid.

Last edited by bici (2017-02-18 21:47:30)


…. texted postive

Offline

#17 2017-02-18 23:41:37

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,595
Website

Re: Recent_articles Tag

As a memory aid: It makes sense that listform isn’t available with txp:article_custom as the _custom variant isn’t context-sensitive.

Only txp:article is context-sensitive and therefore requires the ability to say which form to use for an individual article and which for a list.

Also, txp:article_custom has never been able to paginate in the past, so pageby never existed for it. offset and limit always have. Up to now, I have used etc_pagination or manual methods to achieve that. Has that now changed with 4.6.x? I can’t see any mention of it in the docs.


TXP Builders – finely-crafted code, design and txp

Offline

#18 2017-02-18 23:51:54

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: Recent_articles Tag

Jacob I have a very serious case Tag Envy!

Over 10 years of using TxP and I still only grasp 20% of the tags and their function.


…. texted postive

Offline

#19 2017-02-19 00:13:47

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

Re: Recent_articles Tag

bici wrote #304130:

Jacob I have a very serious case Tag Envy!

Over 10 years of using TxP and I still only grasp 20% of the tags and their function.

Lol… I was thinking exactly the same yesterday, while (stubbornly) missing the allowoverride="0" attribute on <txp:article /> in the docs. For 3 days in a row.

Last edited by phiw13 (2017-02-19 00:14:04)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB