Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#121 2007-02-28 16:14:31

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Bump

Etz Haim,

Sorry to bump this, but I’m wondering if you (or anyone else out there) might consider the feature suggestion I mentioned in my last post:

Ability to specify a number of characters/words/paragraphs and then have articles automatically paginate.

Paginated articles is a great idea, but could really use a bit of automation for sites with a lot of writers.

My thought would be to make it function something like rss_auto_excerpt , so maybe the plugin would have a length="" attribute that would automatically split the article after certain number of characters/words/paragraphs.

Obviously, I don’t have programming skills to make this happen, but I’d be glad to contribute to it’s development in other ways.

Last edited by renobird (2007-02-28 16:15:51)

Offline

#122 2007-03-10 15:15:54

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

There’s 0.10.1 out which includes a quick fix for the bug described above. Please download and try.

Offline

#123 2007-07-31 16:19:02

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

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Niko, thanks for this wonderful plugin! I was really glad to have it at hand for a site of a friend who isn’t willing to give his articles endings ;)


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

Offline

#124 2007-10-23 07:31:44

pankkake
New Member
From: Paris, France
Registered: 2007-10-23
Posts: 1
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

If you are using TextPattern with register_globals disabled, you might have problems with the ?pg= part of the URL not being taken into account.

Just use this function instead of the regular one :

function etz_pg_thispage() {
        $pg = (isset($_GET['pg'])) ? $_GET['pg'] : 1;
	return $pg;
}

The Soul Is in the Software

Offline

#125 2007-10-23 18:40:33

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Thanks for the suggestion. I’ve had some problems myself and used a similar modification for some time now. Version 0.10.2 includes this.

Offline

#126 2007-11-20 03:33:14

juicevb10
New Member
Registered: 2006-01-24
Posts: 6

Re: [plugin] [ORPHAN] etz_pg for paginated articles

There seems to be a problem with the archive available through the download link for version 10.2

Offline

#127 2007-11-20 03:42:17

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

just rename it to a txt file.

Offline

#128 2007-11-20 06:46:24

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Fixed; uncompress as usual.

Offline

#129 2008-02-04 16:29:58

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

Re: [plugin] [ORPHAN] etz_pg for paginated articles

etz_pg is a very nice plugin, thank you very much!

on another note i can report, that it runs on php 4.4.7 here aswell, despite the listed plugin requirements to run php 5 at the least.

does anyone knbow of a plugin which would paginate lists of article titles as part of a navigation (say into blocks of ten links or otehrwise user-adjustable.)?

Last edited by jayrope (2008-02-04 16:30:57)


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

Offline

#130 2008-02-15 16:09:33

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

Re: [plugin] [ORPHAN] etz_pg for paginated articles

Hello,

is there a way to define a dividing sign between the numbers of the pagination as an attribute? like
txp:etz_pg_pages divider=”|” would result in

1 | 2 | 3 | 4

i can do it with css, but having the sign actually in the resulting page html instead of css simulating it’s existence sounds more stable to me…

thanx for any answer and the plug in any case


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

Offline

#131 2008-02-15 17:42:10

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: [plugin] [ORPHAN] etz_pg for paginated articles

jayrope wrote:

etz_pg is a very nice plugin, thank you very much!

does anyone knbow of a plugin which would paginate lists of article titles as part of a navigation (say into blocks of ten links or otehrwise user-adjustable.)?

@jayrope, i think the way to do this is through TXP’s native pagination functionallity, using limit on article forms, that just contain the title.

In case you want the etz_pg number style in your footer section, you could do the same thing again with article forms, that just contain the numbers 1, 2, 3, 4, etc, enclosed in list items and then use the limit, offset and pageby, by the respective values.

I just can’t remember, does if it works without article data, does it ? I can’t remember.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#132 2008-04-21 18:39:11

davidsess
Member
From: New York, NY
Registered: 2008-01-02
Posts: 20
Website

Re: [plugin] [ORPHAN] etz_pg for paginated articles

EDIT: problem solved.

Last edited by davidsess (2008-08-04 05:30:37)


http://www.patrolmag.com

Offline

Board footer

Powered by FluxBB