Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2007-11-15 14:23:26

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: [plugin] [ORPHAN] ob1_pagination

Hi,

I have a portfolio page set up using hak_article_image. At the moment it shows only one image per entry, but I wanted to add several images which could be selected via numbered links which I’ll style in CSS – sounds like ob1_pagination will do the job perfectly.

However, I’m a little confused as to where the tag should go. At the moment my form looks like this…

<div class="portfolio">
<div class="portfolio_pic">
<txp:hak_article_image link="0"/>

</div>
<div class="columns-2-A portfolio_text">
<h4><txp:category1 title="yes" wraptag="ul"/><txp:title /></h4>
<p><txp:body /></p>
<txp:ob1_pagination previoustext="Previous" nexttext="Next" />

</div>
</div>

Unsurprisingly perhaps, this doesn’t work and looks like it’s trying to list pages rather than images. I’d really appreciate any pointers.

Thanks.

Offline

#62 2007-11-15 18:36:42

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

Re: [plugin] [ORPHAN] ob1_pagination

err quite sure its not supposed to go in an article form. or else how would it know how to paginate your article list?

Last edited by iblastoff (2007-11-15 18:37:05)

Offline

#63 2007-11-16 18:58:20

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: [plugin] [ORPHAN] ob1_pagination

I think you’re right iblastoff. In fact I should really be using hak_image_article to achieve what I need.

Offline

#64 2007-12-04 18:36:23

accarter
Member
From: Los Angeles
Registered: 2007-08-31
Posts: 31
Website

Re: [plugin] [ORPHAN] ob1_pagination

This is a great plugin – would it be possible to use it to only paginate within a particular category – for when I don’t want people to navigate out of the category they’re already in?
Thanks!
a

Offline

#65 2007-12-04 18:53:03

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

Re: [plugin] [ORPHAN] ob1_pagination

accarter wrote:

This is a great plugin – would it be possible to use it to only paginate within a particular category – for when I don’t want people to navigate out of the category they’re already in?
Thanks!
a

the plugin does this.

Offline

#66 2007-12-10 09:54:47

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Re: [plugin] [ORPHAN] ob1_pagination

Link is dead and I’m in desperate need of this plugin, or something that achieves a similar pagination effect. :(

Offline

#67 2007-12-10 10:00:11

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Re: [plugin] [ORPHAN] ob1_pagination

Google cache to the rescue. :)

Offline

#68 2007-12-10 10:34:18

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Re: [plugin] [ORPHAN] ob1_pagination

Here’s the xHTML compliant version of the plugin in case someone needs it.

Nope, doesn’t work, false alarm.

Last edited by draganbabic (2007-12-11 12:21:40)

Offline

#69 2007-12-15 14:12:11

Alex007
Member
Registered: 2007-10-24
Posts: 57

Re: [plugin] [ORPHAN] ob1_pagination

I am using the chh_article_custom to list articles in a category and am trying to get the pagination to work.

I am using the following code

<txp:chh_article_custom category="Latest-News" limit="4" listform="news" sort="posted desc" />

<txp:if_article_list>
  <div class="paginationwrap"> 
    <txp:ob1_pagination firsttext="First" previoustext="Previous" nexttext="Next" lasttext="Last" ulclass="pagination" />
  </div>
</txp:if_article_list>

But it doesn’t seem to work – any ideas what i am doing wrong?

Thanks
A.

Last edited by ruud (2007-12-15 14:25:14)

Offline

#70 2007-12-15 14:26:27

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

Re: [plugin] [ORPHAN] ob1_pagination

Alex007 wrote:

But it doesn’t seem to work – any ideas what i am doing wrong?

Please describe accurately what doesn’t work and how you expect it to work and if possible an URL that demonstrates the problem.

Offline

#71 2007-12-15 14:39:54

Alex007
Member
Registered: 2007-10-24
Posts: 57

Re: [plugin] [ORPHAN] ob1_pagination

I will try my best!

I have a section called news, and i’m trying to display a list of articles that are in the Latest-News category with a limit of 4 and then be able to paginate through all previous articles.

This is the url if it helps

http://www.westlondonlln.org/news

Thanks.

Offline

#72 2007-12-15 14:46:01

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] ob1_pagination

I don’t see an article tag within the if_article_list conditional.

Offline

Board footer

Powered by FluxBB