Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#157 2009-06-04 21:54:51

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

Re: [plugin] [ORPHAN] ob1_pagination

Els wrote:

driz wrote:

Would it be possible to have an option whereby you can show say pages 1-5 and then say you had 50 pages, page 50 and then … in between.

driz, rsx_page_number can do that.

I prefer ob1 over that plugin. Would be nice to see this added to ob1 though, mebbe through a new attribute?


~ Cameron

Offline

#158 2009-07-07 09:48:41

mark.adams82
Member
Registered: 2008-05-27
Posts: 14

Re: [plugin] [ORPHAN] ob1_pagination

Hi – is it possible to use the pagination in more than one section of a site?
I assume it must be and something trivial is going wrong with mine! I have a blog section with perfectly working pagination and an exact duplicate of this set up in a news section where no pagination is appearing at all. Im a little confused as to why two things that are the same would work in one place and not the other, but like I said, Im sure its a minor detail that’s been overlooked.

Any help greatly appreciated!

Code:

<txp:if_section name=“news”>
<div id=“content”>
<txp:if_individual_article>
<txp:article Article_Type=“sub” limit=“1” form=“article_news” />
<br/>
<br/>
<a href=”<txp:site_url />news” title=“Return To News Index”>Return to News Index Page</a>
<txp:else />
<h1>Latest News &amp; Events from </h1>
<txp:article listform=“article_newslist” limit=“4” Article_Type=“sub” />
<br class=“clear” />
<txp:output_form form=“panel_pagination” />
</txp:if_individual_article>
</div>
</txp:if_section>

panel_pagination:

<txp:ob1_pagination outputnextprevious=“0” moretabsdisplay=“1” maximumtabs=“8” firsttext=“First” previoustext=”&laquo;&nbsp;Previous” nexttext=“Next&nbsp;&raquo;” lasttext=“Last” outputlastfirst=“0” ulclass=“pagination” liclass=“pagination” ulid=“pagination” liselected=“active” liempty=“inactive”/>

The Blog section is the same apart from using section=“blog”, article_blog and article_bloglist

Offline

#159 2009-09-10 04:21:26

mericson
Member
Registered: 2004-05-24
Posts: 137
Website

Re: [plugin] [ORPHAN] ob1_pagination

ob1_pagination not working within categories

ob1_pagination is working great when just a section is specified, but if there is a current category within the specification although ob1_pagination is called (viewing debug trace) it doesn’t output anything!

This works:
http://mysite.com/sectionname/

However, the following doesn’t emit any pagination markup
http://mysite.com/sectionname/?c=category

The later page is output just fine with articles within the category. ob1_pagination simply doesn’t output any pagination markup!

I have the same problem even if all other plugins are disabled.

Textpattern: 4.0.8
ob1_pagination: 2.5

Offline

#160 2009-10-01 22:19:27

leonardochen
Member
Registered: 2008-11-14
Posts: 11

Re: [plugin] [ORPHAN] ob1_pagination

Hello – In some areas of my site I need to filter the articles by date on the URL, for example http://mysite.com/section/?month=2009-09

In that case, ob1_pagination shows the correct amount of pages, but unfortunately the links do not carry over the filter information, so if I click on page 3, I am taken to page 3 of the entire section, and not the page 3 of the articles from Sept 09.

Is there a good way to do this with this plugin?

Thanks!

Offline

#161 2009-10-01 23:24:42

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

Re: [plugin] [ORPHAN] ob1_pagination

My soo_page_numbers plugin has similar functionality to this one, and preserves any URL query parameter you throw at it, including month.

I don’t normally “advertise” in this way on “competing” plugin threads, but this one does seem to be well and truly an orphan.


Code is topiary

Offline

#162 2009-10-03 01:17:43

leonardochen
Member
Registered: 2008-11-14
Posts: 11

Re: [plugin] [ORPHAN] ob1_pagination

Thanks Jeff. I’ll check it out.

Last edited by leonardochen (2009-10-03 13:00:31)

Offline

#163 2010-07-09 07:50:13

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: [plugin] [ORPHAN] ob1_pagination

i put plugin tag under article tag, nothing changes…

<txp:article_custom form=“works” pgonly=“0” section=“Works” sort=“position asc” status=“4” limit=“7”/>
<txp:ob1_googlenav firsttext=“First” previoustext=“Previous” nexttext=“Next” lasttext=“Last” />


<txp:txp_me />

Offline

#164 2010-07-09 17:22:47

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [plugin] [ORPHAN] ob1_pagination

You need to change the tag to:-

<txp:ob1_pagination firsttext="First" previoustext="Previous" nexttext="Next" lasttext="Last" />

assuming you have the latest version of the plugin.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#165 2010-07-16 16:33:07

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: [plugin] [ORPHAN] ob1_pagination

i dont understand, it still doesnt work… i paste ob tag under custom article with limit, nothing shown…
im using 2.5 version and 4.2 txp


<txp:txp_me />

Offline

#166 2010-07-16 16:49:16

marymi
Member
Registered: 2009-06-18
Posts: 37

Re: [plugin] [ORPHAN] ob1_pagination

same here… it works if I paste it with txp:article but not with txp:article_custom…

Offline

#167 2010-07-16 17:34:31

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: [plugin] [ORPHAN] ob1_pagination

thanks…
plugin author planing to update this plugin and add an article custom support?


<txp:txp_me />

Offline

#168 2010-07-16 19:26:50

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

Re: [plugin] [ORPHAN] ob1_pagination

ob1_pagination was made for txp:article and must be used only with this tag. Try other pagination plugins, IIRC soo_* can be useful, but i’m not sure


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

Board footer

Powered by FluxBB