SimplePager

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Re: SimplePager

Postby gwbonline » Mon Feb 14, 2011 5:43 pm

I've learned a lot about PivotX, but I don't know all programming techniques to create such a thing with %count%. I think I keep using SimplePager, because that does what I want. And forget about that the page list navigation jumps to the top.
gwbonline
 
Posts: 580
Joined: Tue Jan 01, 2008 5:17 pm

Re: SimplePager

Postby Harm10 » Thu Mar 31, 2011 8:46 pm

Version 0.2 is released (see top post).
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: SimplePager

Postby gwbonline » Sun Apr 03, 2011 11:12 am

Thanks for this release. I had removed SimplePager because the page jumped when clicking on the page numbers. But now it works like I want.
gwbonline
 
Posts: 580
Joined: Tue Jan 01, 2008 5:17 pm

Re: SimplePager

Postby Harm10 » Sun Apr 03, 2011 6:25 pm

gwbonline wrote:I had removed SimplePager because the page jumped when clicking on the page numbers.
For the other readers: the skipping is intentional to make sure you always present the paged elements in the same fashion. After all the size of those parts can be quite different! If your simplepager pages are always the same size then you can do without this repositioning (= skipping).
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: SimplePager

Postby Harm10 » Sun Apr 10, 2011 8:12 pm

Version 0.3 released. See top of this post.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: SimplePager

Postby debbbole » Thu May 23, 2013 3:37 pm

Hi@all,

first of all, sorry for this "necro-post"... :)

I had to put together two language translations of a text in a page, so i put a little modification on this plugin. I tried to do the following things:
- change the pagination menu links text to a label;
- every "page" uses as link text a label, and it's taken from the id of the last element (-> pageTag) in the page;
- it's enabled by a configuration parameter called "usetagid".

This way, i just had to:
- put the translations into 2 separated elements of the paginated content each one having as id a "useful" label, i.e. "DE", "IT", "FR";
- set pageSize to 1;
- set usetagid to 1.

Don't know if this could be someway useful or if it could be someway easily (or not...) integrated with an i18n layer, but if you think it could be useful to someone just tell me and i'll send you by mail or PM this modified version, so you could test it and "approve" it if you think it could work... :D (I prefer not to attach it to this post just because i wouldn't make any user think it's a latest release of this extension... but just tell me if you prefer this way, and i'll attach it to a response in this thread.)
debbbole
 
Posts: 15
Joined: Fri Nov 16, 2012 10:51 am

Re: SimplePager

Postby Harm10 » Thu May 23, 2013 5:21 pm

I am always willing to look at new ideas for an extension. So you can mail me your version (my address can be found in my user info) and I'll have a look at it!
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: SimplePager

Postby Harm10 » Mon Jun 03, 2013 4:45 pm

Thanks to Marco there now is a new version of Simplepager (0.4)! Besides some general enhancements the suggestion of Marco has been incorporated.
Now the tag-ids of the child elements can also be used as values for the pager.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Previous

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 4 guests

cron