#1 2004-09-11 03:05:15

obeewan
Plugin Author
iota
Real name: Henrik Jönsson
From: Stockholm, Sweden
Known languages: sv,en, some fr,es,a bit more dk,no and some bad of everything else
Website

[ORPHAN] ob1_pagination

Name: ob1_pagination
Version: 2.5
Author: Henrik Jönsson
Author URL: revolutioni.se
Modified: 2007-10-13
Paste URL

Summary: This plugin creates a navigation bar as seen on Google when you search for something. It has a wide variety of attributes so you are able to customize it untill you drop.

Update
Now works out-of-the-box in TXP 4. Thanks to gerhard for his fixing it while I was doing else.
Also works with my newly test-released ob1_advanced_search plugin.

I took in consideration featurerequests therefor we see some new attributes coming into the sun and some who have changed a bit. Take a look in the help for the plugin for a full list in the change log.

Renamed
On popular demand I’ve changed the name of the plugin from ob1_googlenav to ob1_pagination. (Also, makes me less prone to get sued by Google ;).

Last edited by obeewan (2007-12-27 20:36:01)


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

 

#2 2004-09-11 03:25:02

obeewan
Plugin Author
iota
Real name: Henrik Jönsson
From: Stockholm, Sweden
Known languages: sv,en, some fr,es,a bit more dk,no and some bad of everything else
Website

Re: [ORPHAN] ob1_pagination

Found the first bug. It currently does not add the $c variable if set. I will fix this when I get up in the morning (5am currently).

Dratt and double dratt!


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

 

#3 2004-11-01 02:24:10

alicson
Member
kappa
Website

Re: [ORPHAN] ob1_pagination

obeewan,
ob1_googlenav is a truly excellent plugin…
just one request: the ability to change the order of the tabs… such as to put firsttext before previous text, or reverse the pagination order….
also, “liselected” and “liempty” do not appear to be responding for me.. is that anything to do with your $c variable thing?

thank you for making this!


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

Offline

 

#4 2004-11-02 10:10:42

obeewan
Plugin Author
iota
Real name: Henrik Jönsson
From: Stockholm, Sweden
Known languages: sv,en, some fr,es,a bit more dk,no and some bad of everything else
Website

Re: [ORPHAN] ob1_pagination

alicson,

The problem with categories have been solved in the 2.0 version, just hadn’t written about it, my bad.

liselected and liempty works fine for me. I’ve found the use of it on your site so how do you call it alicson? <txp:ob1_googlenav whatgoeshere? />

Regarding the request. I guess it ain’t mission impossible to do what you ask for, allthough I am not exactly sure what you mean :)

Do you mean like:

  • < older
  • < previous
  • 3
  • 2
  • 1
  • next >
  • current >

?


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

 

#5 2004-11-02 12:33:04

ChrisJ
Member
delta
Real name: Chris
From: Vienna, Austria
Known languages: en, de, pl
Website

Re: [ORPHAN] ob1_pagination

> alicson wrote:
> also, “liselected” and “liempty” do not appear to be responding for me..

“liselected” also won’t work for me – otherwise it’s a great plugin!

Last edited by ChrisJ (2004-11-02 12:33:17)

Offline

 

#6 2004-11-02 13:28:32

obeewan
Plugin Author
iota
Real name: Henrik Jönsson
From: Stockholm, Sweden
Known languages: sv,en, some fr,es,a bit more dk,no and some bad of everything else
Website

Re: [ORPHAN] ob1_pagination

Ahaaaa .. Now I know what the problem is! My detail page is flunky also heh .. To use linkselected you also have to set linkcurrent to 1 so the current page becomes a link. Otherwise it will be set to the liempty class. This is for now. I’ll fix so the current get’s set even if the current page is not using a link.

Will this solution work for you both? Vote NOW! ;)

Last edited by obeewan (2004-11-02 13:42:58)


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

 

#7 2004-11-02 16:09:59

ChrisJ
Member
delta
Real name: Chris
From: Vienna, Austria
Known languages: en, de, pl
Website

Re: [ORPHAN] ob1_pagination

yo baby, yo baby, yo baby yo! I’m voting for Carrie Bradshaw!

<small>(nothing to worry about, it’s only a reaction on foggy november weather)</small>

edit:
BTW, any chance for liselectedtext attribute?

Last edited by ChrisJ (2004-11-02 16:41:28)

Offline

 

#8 2004-11-02 18:38:31

obeewan
Plugin Author
iota
Real name: Henrik Jönsson
From: Stockholm, Sweden
Known languages: sv,en, some fr,es,a bit more dk,no and some bad of everything else
Website

Re: [ORPHAN] ob1_pagination

ChrisJ,

You mean a replacement to the number that is currently selected? Hmm .. Shouldn’t be that hard to implement ..


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

 

#9 2004-11-02 23:17:09

ChrisJ
Member
delta
Real name: Chris
From: Vienna, Austria
Known languages: en, de, pl
Website

Re: [ORPHAN] ob1_pagination

Hi, obeewan
Oh, what my today somehow blurred mind also tried to say – and the fingers didn’t type: text<strong>title</strong>, to add something like title="Current page" to the liselected.

Offline

 

#10 2004-11-03 13:05:43

obeewan
Plugin Author
iota
Real name: Henrik Jönsson
From: Stockholm, Sweden
Known languages: sv,en, some fr,es,a bit more dk,no and some bad of everything else
Website

Re: [ORPHAN] ob1_pagination

Ah .. Sure .. No problemo. Starting my “off-job” week tomorrow but will be a bit bizzy (moving to a new apartment etc) but I’ll do my best .. =)

Last edited by obeewan (2004-11-03 19:23:11)


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

 

Powered by PunBB
© Copyright 2002 – 2005 Rickard Andersson