Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#109 2008-01-23 00:26:14

chizet
New Member
Registered: 2007-09-09
Posts: 7

Re: [plugin] [ORPHAN] ob1_pagination

Anyone have any live examples of this? I think this is what I need but I’d like to see it in action.

Offline

#110 2008-01-23 08:20:57

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [plugin] [ORPHAN] ob1_pagination

Kjeld has a nice site here that uses it at the bottom of the page.


Steve

Offline

#111 2008-01-26 21:13:50

chizet
New Member
Registered: 2007-09-09
Posts: 7

Re: [plugin] [ORPHAN] ob1_pagination

Hey net-carver, thanks for the link! Helpful indeed.

Okay, so, I have been trying and trying to get this plug-in to work the way I need it to but I don’t know if it will. I am updating a portfolio site to be used with Textpattern and I want my article list to be paginated. The article list is on every page. Here is the site that I am updating:

www.ericaleffelman.com/

Any suggestions? At first I had each main piece in the portfolio an article with the main article tag and the article list was using the article_custom tag – but it seems that article_custom doesn’t work with this plug-in…Thanks ahead for any help!

Offline

#112 2008-01-27 08:19:36

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [plugin] [ORPHAN] ob1_pagination

article_custom isn’t context sensitive, so it can’t be paginated so easily. Possible yes, but not bulletproof.

Cheers!

Offline

#113 2008-02-05 13:24:24

FRIIIEEK
Member
From: Düsseldorf
Registered: 2007-03-23
Posts: 17

Re: [plugin] [ORPHAN] ob1_pagination

ok, i already accepted that the moretabsdisplay and moretabstext has no function at all, so please delete it from your tutorial and helpfile…

or (much better) try to explain with an example how to use it correctly… (in messy-mode?!)

Offline

#114 2008-03-03 16:02:27

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Hello,

Can this plugin work together with upm-archive, so i can paginate archives this way ?

Roelof

Offline

#115 2008-03-05 14:39:52

robhert
Member
From: Perú
Registered: 2007-04-27
Posts: 206
Website

Re: [plugin] [ORPHAN] ob1_pagination

Hi to all!

I don’t know why obi_pagination doesn’t work for me… I’ve tried all I see on this forum but nothing seems to make it work.

This is my code:

<txp:if_category>
 <h2><txp:category title="1" /></h2>
 <div class="categoryfeed">
  <txp:zem_event_list />
  <txp:article limit="5" />
 </div>
<txp:else />
 <txp:if_search>
  <h2><txp:text item="search_results" />: <txp:page_url type="q" /></h2>
  <div class="divider"><img src="<txp:site_url />images/1.gif" width="400" height="1" alt="---" title="" /></div>
 </txp:if_search>
 <div class="news">
  <txp:article form="news_events" limit="3" />
  <txp:ob1_pagination firsttext="First" previoustext="Previous" nexttext="Next" lasttext="Last" ulclass="pagination" />
 </div>
</txp:if_category>

Hope some of you can help me.

I’m using the version from here: http://revolutioni.se/

Thanks in advance.
Robhert.

Last edited by robhert (2008-03-05 14:41:21)

Offline

#116 2008-03-05 20:30:54

robhert
Member
From: Perú
Registered: 2007-04-27
Posts: 206
Website

Re: [plugin] [ORPHAN] ob1_pagination

hello to all again.

I have found my solution:

   <txp:if_category>
    <h2><txp:category title="1" /></h2>
	<div class="categoryfeed">
	 <txp:zem_event_list />
	 <txp:article limit="5" />
	</div>
   <txp:else />
    <txp:if_search>
	 <h2><txp:text item="search_results" />: <txp:page_url type="q" /></h2>
	 <div class="divider"><img src="<txp:site_url />images/1.gif" width="400" height="1" alt="---" title="" /></div>
	</txp:if_search>
	<div class="news">
	 <txp:chh_article limit="5" listform="news_events" />
     <txp:ob1_pagination firsttext="First" previoustext="Previous" nexttext="Next" lasttext="Last" ulclass="pagination" />
	</div>
   </txp:if_category>

And, actually, this works!

THANKS!

Offline

#117 2008-03-10 18:25:06

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Hello,

I try to make this plugin work together with upm-archive.
I have one problem. When i use this plugin this section disappear from the url :&month=2005-02.
So everything is messed up.

How can i solve this ?

Roelof

Offline

#118 2008-03-10 19:16:14

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: [plugin] [ORPHAN] ob1_pagination

Roelof, edit the plugin, find this line:

$addToURL .= ($c) ? "&amp;c=$c" : "";

add the following line just below it:

$addToURL .= gps('month') ? "&amp;month=".urlencode(gps('month')) : "";

Offline

#119 2008-03-10 19:42:58

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: [plugin] [ORPHAN] ob1_pagination

Thank you Ruud,

It worked.

Roelof

Offline

#120 2008-05-06 02:46:47

skult
New Member
From: Austria
Registered: 2008-05-06
Posts: 1
Website

Re: [plugin] [ORPHAN] ob1_pagination

FRIIIEEK wrote:

ok, i already accepted that the moretabsdisplay and moretabstext has no function at all, so please delete it from your tutorial and helpfile…
or (much better) try to explain with an example how to use it correctly… (in messy-mode?!)

I just ran into the same problem.

The documentation appears to be in error: The values “before” or/and “after” are to be used in the moretabsdisplay attribute, while moretabstext defines the text that is shown for the ommitted tabs.

HTH

Offline

Board footer

Powered by FluxBB