Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-07-12 23:39:57

DarkWulf
Plugin Author
Registered: 2004-06-19
Posts: 4

[archived] hfw_pg: Paginated articles

Notice: This thread is archived, this plugin is no longer available.

**********************************************************

Created a little plugin that lets you split articles into multiple pages.

Installing this one plugin will make available two new tags, so check out the documentation…

Note: this will probably keep your pages from validating unless you don’t use textile. I have a version that keeps the validation, but it requires changes to publish.php, but am reluctant to release it because I’m not all that positive my changes didn’t break anything.

Offline

#2 2004-07-12 23:59:13

nimnix
Plugin Author
Registered: 2004-05-26
Posts: 63
Website

Re: [archived] hfw_pg: Paginated articles

where do we get it?


textpattern.org :: find and share Textpattern resources
textpattern.net :: TextBook – Textpattern wiki

Offline

#3 2004-07-13 04:50:55

DarkWulf
Plugin Author
Registered: 2004-06-19
Posts: 4

Re: [archived] hfw_pg: Paginated articles

Hahaha. :-/ Doh.

I knew I forgot something. :-X Download: hfw_pg_* plugin

(EDIT: new download link)

Last edited by DarkWulf (2004-12-25 02:23:15)

Offline

#4 2004-07-13 05:26:00

nimnix
Plugin Author
Registered: 2004-05-26
Posts: 63
Website

Re: [archived] hfw_pg: Paginated articles

Nice – it works well :)

using it here

Last edited by nimnix (2004-07-13 17:07:47)


textpattern.org :: find and share Textpattern resources
textpattern.net :: TextBook – Textpattern wiki

Offline

#5 2004-07-31 04:48:50

mattrobs
New Member
From: Sydney, Australia
Registered: 2004-07-25
Posts: 5

Re: [archived] hfw_pg: Paginated articles

What documentation?!!

What tags are needed?

Offline

#6 2004-07-31 05:23:09

nimnix
Plugin Author
Registered: 2004-05-26
Posts: 63
Website

Re: [archived] hfw_pg: Paginated articles

Documentation from the plugin

<code>This plugin creates two tags: <txp:hfw_pg_body /> and <txp:hfw_pg_pages />. If you wish to seperate pages with a seperator other than [page], you will need to edit the plugin where it reads $pageSep or pass a pageSep attribute when using the tags.

<txp:hfw_pg_body />: Use this tag wherever you would normally have used <txp:body />. Accepts no attributes aside from $pageSep

<txp:hfw_pg_pages />: Displays a control that allows readers to jump from page to page. Accepts attributes always, prev and next. Always can be either true or false (defaulting to false), and controls whether the pagination links will be printed even if there is only one page being used. The prev and next attributes are the text for the links to the previous and next pages. </code>


textpattern.org :: find and share Textpattern resources
textpattern.net :: TextBook – Textpattern wiki

Offline

#7 2004-07-31 06:16:25

mattrobs
New Member
From: Sydney, Australia
Registered: 2004-07-25
Posts: 5

Re: [archived] hfw_pg: Paginated articles

So, I would put [txp:hfw_pg_body /] in my template or form?

How do I indicate in an individual post where to paginate?

Eg:

In this post I will be talking about textpattern.
txp:newpage
Introduction. Bla Bla Bla. Next is configuration.
[-txp:newpage—]
Thankyou for reading

Last edited by mattrobs (2004-07-31 06:19:37)

Offline

#8 2004-07-31 07:06:10

nimnix
Plugin Author
Registered: 2004-05-26
Posts: 63
Website

Re: [archived] hfw_pg: Paginated articles

You use [page] (or if you specified your own pageSep in the pg_body tag, use that).


textpattern.org :: find and share Textpattern resources
textpattern.net :: TextBook – Textpattern wiki

Offline

#9 2004-07-31 07:54:10

mattrobs
New Member
From: Sydney, Australia
Registered: 2004-07-25
Posts: 5

Re: [archived] hfw_pg: Paginated articles

Will [txp:hfw_pg_body /] act the same way as [txp:body /]?

Offline

#10 2004-07-31 09:20:58

nimnix
Plugin Author
Registered: 2004-05-26
Posts: 63
Website

Re: [archived] hfw_pg: Paginated articles

as far as I know it does. You’d have to ask the plugin designer.


textpattern.org :: find and share Textpattern resources
textpattern.net :: TextBook – Textpattern wiki

Offline

Board footer

Powered by FluxBB