Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-31 21:09:51

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Paged Articles

Is their anyway to have paged articles? So say you had a massive article, you could spread it out over a couple of pages to make it more digestible


~ Cameron

Offline

#2 2009-01-31 21:12:25

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

Re: Paged Articles

There is this plugin, but not sure if it will work with latest TXP versions.

Offline

#3 2009-01-31 23:15:57

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

Re: Paged Articles

I hate to promote vaporware, but since you ask, I am working on a plugin for exactly this. Will allow articles to have hierarchical structure (sections, subsections, etc.). By all means use the plugin jstubbs mentions if that does what you need, but keep an eye on the plugin forum. If all goes well I might be able to release this in a week or two.


Code is topiary

Offline

#4 2009-01-31 23:53:08

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Paged Articles

jsoo wrote:

I hate to promote vaporware, but since you ask, I am working on a plugin for exactly this. Will allow articles to have hierarchical structure (sections, subsections, etc.). By all means use the plugin jstubbs mentions if that does what you need, but keep an eye on the plugin forum. If all goes well I might be able to release this in a week or two.

You know the second I saw the plugin above I thought about sub-sections! BUT! I don’t think articles should be used as sub-sections, because an article is a block of content, where as a section is a block of a website, and may have 1-1million articles, yeh?

I dunno I can’t say too much until I see what you produce, but keep it pagination of an article, and not as a sub-section system, cos articles are not sections, and it would make the whole TXP box model ugly :P

Look forward to it all the same, one thing I dislike about the above plugin is the fact I have to go and and change the body tag etc, it would be nice to see something that works with the standard tags, and you can add the pagination with a new tag etc. x


~ Cameron

Offline

#5 2009-02-01 02:40:31

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

Re: Paged Articles

It’s not a replacement for Txp sections. I mean an article with a structure such as:

  1. Introduction
  2. Foo
    1. Foo bar
    2. Foo baz
  3. Boo
    1. Boo far
    2. Boo faz
    3. Boo fat
  4. Appendix

So I do mean a single block of content.


Code is topiary

Offline

#6 2009-02-01 08:44:54

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

Re: Paged Articles

jsoo, I guess you mean something like cbs_article_index with additional nesting married with etz_pagination?


TXP Builders – finely-crafted code, design and txp

Offline

#7 2009-02-01 10:29:15

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Re: Paged Articles

I also have an (as-yet-unreleased) pagination plugin that auto-paginates long articles based on rules you give it, so there’s no need for people to insert markup at break points — unless you specifically want to do that of course.

I’ve been sitting on the plugin for about a year and had all-but forgotten about it; I was waiting until I had time/inclination to update smd_pullquote so it took advantage of quoting only parts of the article that were currently “visible” (and to tidy that plugin up, because it’s a mess). If I get a chance I’ll run some final tests on the pagination plugin and release it at some point. Thanks for reminding me about it!

Last edited by Bloke (2009-02-01 10:31:28)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#8 2009-02-01 13:06:08

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Paged Articles

This is awesome, proper excited to see to try some of these new plugins, paged articles would really put a smile on my face, imagine the power of control you would have other your content :P

Keep it up guys


~ Cameron

Offline

#9 2009-02-01 13:20:56

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

Re: Paged Articles

Yep, looking forward to seeing Jsoo and Steph’s plugins too…


Keith
Blyth, Northumberland, England
Capture The Moment

Offline

#10 2009-02-01 14:27:36

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

Re: Paged Articles

jakob wrote:

jsoo, I guess you mean something like cbs_article_index with additional nesting married with etz_pagination?

Not really, no. My (still vaporware!) plugin is for tying separate Txp articles into a single unit, so that they behave more or less like a single Txp article. The tying together is done in a custom field.


Code is topiary

Offline

#11 2009-02-01 20:27:30

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Paged Articles

Bloke wrote:

I also have an (as-yet-unreleased) pagination plugin that auto-paginates long articles based on rules you give it, so there’s no need for people to insert markup at break points — unless you specifically want to do that of course.

I’ve been sitting on the plugin for about a year and had all-but forgotten about it; I was waiting until I had time/inclination to update smd_pullquote so it took advantage of quoting only parts of the article that were currently “visible” (and to tidy that plugin up, because it’s a mess). If I get a chance I’ll run some final tests on the pagination plugin and release it at some point. Thanks for reminding me about it!

This sounds great, It would be awesome to be able to choose when the page breaks, but use the the default txp tags for articles, look forward to seeing it :)

Last edited by driz (2009-02-01 21:12:33)


~ Cameron

Offline

#12 2009-02-02 11:05:08

ultramega
Member
Registered: 2006-02-26
Posts: 221

Re: Paged Articles

Here looking forward these too! Please, make them MLP-capable…

Offline

Board footer

Powered by FluxBB