Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#241 2023-02-12 08:33:30

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 220
Website

Re: etc_pagination: paginate everything

I finally got the paginating of article_custom running thanks to etc_pagination. But I am getting an error although everything seems to work fine. If I set textpattern into LIVE modus the error is of course hidden. But I still would like to get rid of it.

Warning: Undefined array key 1 while parsing form Keine on page ...

I am using Textpattern 4.8.8 and plugin version 0.4.7b

Offline

#242 2023-02-12 21:12:42

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: etc_pagination: paginate everything

Sorry, no clue, we need the whole debug message and context to help.

Offline

#243 2023-02-13 21:23:08

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 220
Website

Re: etc_pagination: paginate everything

No I am sorry. Somehow I was hoping that my provided info was enough.
So the whole debug message is:

Tag error: <txp:etc_pagination range="2" prev="" next="" class="pagination" wraptag="ul" break="li" /> ->  Warning: Undefined array key 1 while parsing form Keine on page video

As I said the pagination seems to work fine.
For context I do not see anything special. That´s why I asumed that it might be because I am using a beta version (if that is what the b stands for)

I have the articles on that page in a

<txp:article limit="2"> ... </txp:article>

(for testing purpose just 2)

and outside of it I have the pagination like that:

<txp:etc_pagination range="2" prev="" next="" class="pagination" wraptag="ul" break="li" />

Offline

#244 2023-02-14 20:54:52

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: etc_pagination: paginate everything

Well, that’s an old one. Please download v0.4.8, but I suspect you should be able to replace it with core tags in txp 4.8.8.

Offline

#245 2023-02-14 21:14:03

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 220
Website

Re: etc_pagination: paginate everything

Works like a charm. Thank you so much etc.
Indeed I was looking to handle it with core tags and stumbled over this https://docs.textpattern.com/tags/pages

But could not get it working for article_custom so I went back to etc_pagination.

Offline

#246 2023-02-15 21:34:50

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: etc_pagination: paginate everything

demoncleaner wrote #334647:

But could not get it working for article_custom so I went back to etc_pagination.

FWIW, <txp:article_custom /> accepts pageby attribute that sets the pagination data.

Offline

Board footer

Powered by FluxBB