Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2007-09-18 14:59:30

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] ob1_pagination

New version released that has a lot of the requested features added (might have missed one, then tell me again).

See the first post for links etc.


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#50 2007-09-19 05:54:01

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] ob1_pagination

Henrik, thanks… An update!!!?
I’ve been using your plugin which works seamlessly for years now.
Will be trying your new version soon


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#51 2007-09-19 09:54:59

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: [plugin] [ORPHAN] ob1_pagination

Cheers Henrik, great work!

Offline

#52 2007-09-19 12:04:49

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] ob1_pagination

colak wrote

I’ve been using your plugin which works seamlessly for years now.
Will be trying your new version soon

Well, the bug that was corrected by gerard took care of if the user used messy urls. So if you used anything else, the old plugin version should work ok.

This one adds a bit more features, works with my new release of my advanced search plugin and got the messy urls fixed. So if you are happy with the old version and do not need the new features you could stick with it.

Thanks gerard both for the cheer and the fix of the messy urls on my “away time” =D.

Last edited by obeewan (2007-09-19 12:06:46)


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#53 2007-09-25 12:15:07

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

Re: [plugin] [ORPHAN] ob1_pagination

just wanted to say thanks for this lovely plugin!

i searched for a plugin like this for a while and had no idea it existed. to help any others, im just gonna throw on some meaningful search terms i used : page numbers pagination

Last edited by iblastoff (2007-09-25 12:19:02)

Offline

#54 2007-10-09 18:06:33

peppeg
Member
From: iceland
Registered: 2006-08-01
Posts: 26
Website

Re: [plugin] [ORPHAN] ob1_pagination

i want to thanks obeewan too!

i think this is an awesome plugin, really useful and simple to use…

but i’m agree with iblastoff: i search for “pagination” and i don’t find nothing… and just for a case i found it (i read about this plugin here)

thank you a lot!!

Last edited by peppeg (2007-10-09 18:06:58)


calati juncu ca passa la china

Offline

#55 2007-10-11 21:45:53

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [plugin] [ORPHAN] ob1_pagination

It would be nice to make outputting of previous\next links. I had some troubles with css-styling ‘cos in case of first\last tab opened previous/next <LI> doesn’t contain <a> tag. Simply saying it doesn’t have link. So, i commented the part of code, wich inserted them :)

P.S. just add “outputnextprevious” param – i saw code – it wont get much time :)

And one bug (?) more – glx_if goes crazy when we are viewing page_number!=1 – SOLVED!. Look here!

<txp:glx_if_frontpage>
	[<txp:glx_if_frontpage>: false]
</txp:glx_if_frontpage>
<txp:glx_if_not_frontpage>
	[<txp:glx_if_not_frontpage>: false]
</txp:glx_if_not_frontpage>

I posted it to glx_if topic, and thought that nay be this bug could be fixed in ob1_googlenav plugin. Maybe there must be some defined variable wich is missplaced?

P.S. #2 – I agree that the name of plugin should contain word “pagination” – looking for this plugin was very difficult. And by the and if unresultive search i ocasionly found this plugin and discovered what it does only after reading it’s help.

Last edited by the_ghost (2007-10-11 23:00:47)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#56 2007-10-13 08:42:30

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] ob1_pagination

I don’t quite get the problem you are describing the_ghost. Sure, I just got out of a coma after working like a crazyperson this week but ..

Please ellaborate.


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#57 2007-10-13 09:10:46

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [plugin] [ORPHAN] ob1_pagination

My english seems to be bad :)
Ok. The problem was in glx_if plugin, not your. The problem was that when we use pagination (?pg=n appends to url) glx_if stops identification if we are on front_page or not. This was ‘cos author included checking if pagination exists:

function glx_if_frontpage($atts, $thing)
{
    global $pretext;
    return parse(EvalElse($thing, $pretext["s"] == "default" &&
                                  empty($pretext["c"]) &&
                                  empty($pretext["q"]) &&
                              >>> empty($pretext["pg"]))); <<<
}

After commenting out hilight part glx_if works perfectly.
What about making outputting previous\next links optional? Add “outputnextprevious”=”[1,0]” option if it’s possible.


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#58 2007-10-13 09:53:45

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] ob1_pagination

Making them optional is no problem. Added to feature requests.


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#59 2007-10-13 12:49:39

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] ob1_pagination

See first post for details.

version 2.5 [2007-10-13]

Changed features

  • New name on popular demand: ob1_googlenav became ob1_pagination.
  • Removed outputlinktags feature. In TXP 4.x it’s hard to get it to work. Maybe will release it a separate plugin, who knows?

New features

  • Attribute outputnextprevious added. Does what the name specifies.

Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#60 2007-10-13 16:47:44

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

Re: [plugin] [ORPHAN] ob1_pagination

hey henrik. just letting you know, since its now called ob1_pagination you may want to change the example in the help section as it still says

Examples

<txp:ob1_googlenav firsttext=“First” previoustext=“Previous” nexttext=“Next” lasttext=“Last” />

Offline

Board footer

Powered by FluxBB