We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Bystrom Pagination Extension (EE 2.0 beta available)

Development and Programming

Michael Byström's avatar
Michael Byström
23 posts
17 years ago
Michael Byström's avatar Michael Byström

Hello again.

This extension lets you control the pagination design with your choice of tags and goodies.

There is a new version for EE 2.0 beta! http://ee2.michaelbystrom.com/bystrom_pagination/

Download & Demo

Well met Michael Byström Design

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Hi Michael,

Just came across this and it looks really really good. Will be trying this out later on.

Thanks for such a good looking, simple to use alternative for pagination. Gets 10 out of 10 on my scale. Haven’t actually tried it out as yet but if it does what it says on the tin and how you have it working on your demo site then this looks to be a very good addition to the extensions for EE 😊

Well done.

Best wishes,

Mark

       
Ben McNelly's avatar
Ben McNelly
20 posts
17 years ago
Ben McNelly's avatar Ben McNelly

ohhhh, nice! thanks 😊

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

I have the following in my gallery template

<div class="paginate">
{paginate}
{current_page} of {total_pages}
<div id="pagination-links">{pagination_links}</div>
{/paginate}
</div>

I have created a CSS file with the #pagination_link styles in it. I have enable the extension and left all the default values. I put the images in /system/images/pagination/.

When you check my page, you will see that there has been no styling of the links.

Any ideas?

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

For some reason, it doesn’t seem to be picking up the style…hmmm…

Any ideas?

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

Well I think I did everything right. Here’s what I did: * installed and enabled the extension * put the images in system/images/pagination * created a new CSS template called paginate * link’ed to it in my gallery template * put the <div id=”paginate_links”> around the { paginate } tag.

Did I miss something?

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

For some reason it is not picking up the stylesheet!

I have this:

<link rel='stylesheet' type='text/css' media='all' href='{stylesheet=gallery/paginate}' />

but it is not getting loaded. Hmmm…

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

OK, it is picking up the stylesheet, it is just not finding the images.

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell
Can you try it in a {exp:weblog:entries} tag? instead of a gallery ?

Not easily. I will play around with it some more. It does seem to be picking up the style, but it is NOT outputting the links as list items like it says it should.

I must be missing something so simple…grrr….

       
afarsh's avatar
afarsh
13 posts
17 years ago
afarsh's avatar afarsh

This pagination extension has worked great for us but unfortunately we noticed that it only works within ‘weblog’ tags.

Is there any way to have it also work when used within EE’s sql ‘query’ tags.

If so, it would go along way in keeping all paginations consistent within the site.

Thanks in advance for any help.

       
Chad Clark's avatar
Chad Clark
20 posts
17 years ago
Chad Clark's avatar Chad Clark

I really love this extension.

Suddenly, though, I am coming across this error message:

Notice: Trying to get property of non-object in /home/…/extensions/ext.bystrom_pagination.php on line 58

Line 58 of ext.bystrom_pagination.php is:

$count= $query->num_rows;

Any ideas?

       
textdriven's avatar
textdriven
107 posts
17 years ago
textdriven's avatar textdriven

Let use know when you’re on your new server. This extension looks good.

Could you email it to me?

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

Same error as Chad Clark. I can’t get the non-object error to go away. Anyone?

EDIT:

I just added

error_reporting (E_ALL ^ E_NOTICE);

to the top of the file, which hides the notice.

       
mhulse's avatar
mhulse
329 posts
15 years ago
mhulse's avatar mhulse
Same error as Chad Clark. I can’t get the non-object error to go away. Anyone? EDIT: I just added
error_reporting (E_ALL ^ E_NOTICE);
to the top of the file, which hides the notice.

Hi

This also works:

@$count= $query->num_rows;

Not sure what I would do without this ext. Thanks!

       
Michael Byström's avatar
Michael Byström
23 posts
15 years ago
Michael Byström's avatar Michael Byström

Hej hop,

Glad you guys like it 😊

Sorry but can’t reproduce this error.

But just to make sure that it runs on the latest version of EE I’ve re-installed the extension and added a new rule to the css file for newer versions of EE. I’ve also set up a new demo running the latest version of EE (latest build version could be older.)

http://michaelbystrom.com/bystrom_pagination I’m testing the ExpressionEngine 2.0 Beta and the link is down for the moment. Sorry!

So for you guys with 1.6.8 replace the old css file or you can add the rule to your files

add strong to any rule with b

-Michael

       
1 2 3

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.