Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-19 21:15:31

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

New article_custom tag?

I hear that the article_custom tag has been changed for 4.06 – can someone tell me which are the files/revisions?

What I need is to set a list for the section attribute.

Offline

#2 2007-12-19 21:24:15

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: New article_custom tag?

It’s the textpattern/publish.php file, SVN changeset -2654
Um… make that SVN changeset 2679

Last edited by ruud (2007-12-19 21:43:37)

Offline

#3 2007-12-19 21:30:47

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: New article_custom tag?

Thanks Ruud. I downloaded that one file, and I get all sorts of errors:

Warning: include_once(/users/home/solborg/web/public/textpattern/lib/txplib_prefs.php) [function.include-once]: failed to open stream: No such file or directory in /users/home/solborg/web/public/textpattern/publish.php on line 30

Warning: include_once() [function.include]: Failed opening '/users/home/solborg/web/public/textpattern/lib/txplib_prefs.php' for inclusion (include_path='.:/usr/local/lib/php') in /users/home/solborg/web/public/textpattern/publish.php on line 30

Warning: include_once(/users/home/solborg/web/public/textpattern/lib/txplib_element.php) [function.include-once]: failed to open stream: No such file or directory in /users/home/solborg/web/public/textpattern/publish.php on line 34

Warning: include_once() [function.include]: Failed opening '/users/home/solborg/web/public/textpattern/lib/txplib_element.php' for inclusion (include_path='.:/usr/local/lib/php') in /users/home/solborg/web/public/textpattern/publish.php on line 34

Warning: include_once(/users/home/solborg/web/public/textpattern/lib/txplib_parse.php) [function.include-once]: failed to open stream: No such file or directory in /users/home/solborg/web/public/textpattern/publish.php on line 35

Warning: include_once() [function.include]: Failed opening '/users/home/solborg/web/public/textpattern/lib/txplib_parse.php' for inclusion (include_path='.:/usr/local/lib/php') in /users/home/solborg/web/public/textpattern/publish.php on line 35

Fatal error: Call to undefined function load_elements() in /users/home/solborg/web/public/textpattern/publish.php on line 113

Last edited by jstubbs (2007-12-19 21:31:03)

Offline

#4 2007-12-19 21:44:08

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: New article_custom tag?

Oops, that’s the crockery version of the change, I’ve corrected my earlier post.

Offline

#5 2007-12-19 21:49:06

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: New article_custom tag?

Thanks! Its only publish.php, right?

Offline

#6 2007-12-19 21:50:08

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: New article_custom tag?

Yes, although I can’t guarantee that picking one file from SVN will mix well with TXP 4.0.5

Offline

#7 2007-12-19 21:51:40

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: New article_custom tag?

It works. Thanks a lot. Do you know if the latest version does (or will soon) support paging? For example with ob1_pagination or the in-built TXP paging tags?

Offline

#8 2007-12-19 21:55:09

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: New article_custom tag?

ruud wrote:

Yes, although I can’t guarantee that picking one file from SVN will mix well with TXP 4.0.5

You suggest downloading the entire package? Seems to work so far…

Offline

#9 2007-12-19 22:12:47

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: New article_custom tag?

jstubbs wrote:

It works. Thanks a lot. Do you know if the latest version does (or will soon) support paging? For example with ob1_pagination or the in-built TXP paging tags?

with article_custom? no paging there.

Offline

Board footer

Powered by FluxBB