Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-07-19 14:10:10

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,659
GitHub Twitter

Pagination with article_custom...

Hi Folks.

I’ve got a very, very annoying problem with my page template.

For ajax display, I have a page with this ligne in it:

<txp:article_custom section="articles" category='<txp:variable name="cat" />' limit="1" form="category_list" />

category_list is a simple form to retrieve a list of article categories.

Now, I would like to have a pagination into this page… And it seems we can’t paginate with article_custom.

Do you have any solutions?

Tanks by advance,


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2011-07-19 15:23:31

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

Re: Pagination with article_custom...

Hi Patrick,

Would this txp tip help?

Last edited by colak (2011-07-19 15:23:53)


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

Offline

#3 2011-07-19 15:28:13

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,659
GitHub Twitter

Re: Pagination with article_custom...

Hi Yiannis.

I’m trying this. Thanks.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#4 2011-07-19 15:32:45

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 345
Website

Re: Pagination with article_custom...

I encountered the same problem (how to paginate an article_custom list) here.

The solution I found was to programmanually slice the list and use jQuery-ui tabs with appropriate styling.

No AJAX, but makes illusion.

Offline

#5 2011-07-19 16:43:18

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,659
GitHub Twitter

Re: Pagination with article_custom...

Ok. After trying… and tested

@Yiannis The TxpTips doesn’t work in my case.

@CeBe Thanks to reply, but it seems I’ve got the solution :) [Off topic: Do u repair Mac hardware too?]

Need to clean my code, then I’ll post the result here.

Thanks lot howsoever.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#6 2011-07-19 16:48:25

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

Re: Pagination with article_custom...

Maybe this thread?


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

Offline

#7 2011-07-19 17:15:37

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,659
GitHub Twitter

Re: Pagination with article_custom...

@Yiannis You’re right. That’s the base which help me…


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#8 2011-07-19 18:06:37

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 345
Website

Re: Pagination with article_custom...

Pat64 a écrit:

it seems I’ve got the solution :)

Can’t wait to see it

[Off topic: Do u repair Mac hardware too?]

I don’t. I don’t event repair hardware.
But Macs never fail, right ?

Offline

Board footer

Powered by FluxBB