Skip Navigation

[Resolved] New features for Views pagination

This support ticket is created 8 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 34 replies, has 13 voices.

Last updated by Adriano 7 years, 8 months ago.

Assisted by: Adriano.

Author
Posts
#330267

Hi guys,

what about adding sorting options for Views?
It could be a killer feature!

I mean adding a select item (or checkboxes or whatever) to let user sort items in view.
Something like
- sort by alphabetical order (of title posts)
- sort by custom field value (alphabetical order or numeric)

It would be really awesome!

Something like this
hidden link

Actually to achieve this I've tried to embed isotope in view by adding manually generated filters to dynamic generated view lists.

It would be fantastic to have this function built-in!

Thanks
Best regards
Carlo

#330419

Juan
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hey Carlo

Already in out to-do list, although I do not have an ETA for this yet.

Thanks for the feedback!

#331334

A "load more" type of Ajax pagination

#331341

Juan
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hi Enrico

Definitely!! Now that we do have infinite scrolling, we are thinking about how to set a way to trigger the effect by just scrolling, but also allow you to add a "Load more" button. It is likely not going to be called infinite scrolling, but something like wel, "Load more" 😛

The code implementation is just the same, the only difference is how to trigger the pagination. SO expect this to be chipped soon too.

Thanks!

#334166

Juan
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Just a final note before this ticket gets closed.

We noted all the ideas suggested here, and implemented most of them - at least the ones that we thought that could be done on a clean way. We will ship all of them on the next Views version, 1.11, and we do hope you will enjoy using them as much as we enjoyed adding them. That list includes:
- Infinite scrolling
- SEO links when working with pagination controls
- Browser history management when dealing with AJAX pagination and/or AJAX parametric search
- Better backend tools, like improved dialogs and better pagination control shortcodes with a pagenavi-like option.

We are considering for the future other features like:
- "Load more" pagination, which is basically an infinite scrolling triggered by a button click.
- Extending the set of pagination effects.

I want to thank you all for your eedback, and remind you that this is always a work i progress and that we will be hapy to consider and implement whatever other suggestion you might have.

Regards.

#334210

You guys are Awesome!
Thank You!

#334228

No news at all for the "sort" functionality?
Not necessarily an ETA... but something more than "io on our to-do-list"?

Thanks
Best regards
Carlo

#334250

Juan
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hi Carlo

Sorry, I missed that. Something beyond "it is in our to-do list"... Well, we have a first basic implementation but has some glitches with pagination and parametric search. You should expect it to land soon enough 🙂

#334337

Great to ear this from you... also I would be glad to try an alpha/beta version.
Thanks again for your support

Best regards
Carlo

#334816

Well, regarding the client-side filtering, you could use something like this:

	<wpv-loop>
          <div class="item" data-filter="[THE_NEW_FILTER_SHORTCODE]">
          [wpv-post-featured-image size="medium"]
          </div>
	</wpv-loop>

as you know which filters are there, you can generate for it some JSON like:
{"param1": "value", "param2":["val1","val2"]}

#336892

Juan
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hi Lina, sorry for the late reply 🙂

I see your point and it seems like a nice approach. However, if you have followed the latest news in WordPress, you already know that there is an open discussion about shortcodes and HTML, to the point that using shortcodes as HTML attributes is not encouraged at all by the platform itself. Having a complete feature depend on such a structure seems a little risky to me.

But we might find other ways to implement this, let's just keep it as a suggestion and get back to it at a later stage.

Regards.

#337701

I know I'm a little late.
Anyway I've just realized I didn't mentioned one thing I think could be really intersting: deeper maps control.

I know it's possible to manage some parameter but I know tha maps API is really powerful and it's a bit annoying editing view plugin js assets to accomplish some change to the map look.

I'm talking about more precise control on zoom max/min value, and maps color settings.

Hope you can add this kind of subtle control.

Thanks
Carlo

#337702

LESS or SASS should be another great upgrade to the actual Views system.

#337816

Juan
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hey Carlo

While your two comments are a little out of the topic of pagination improvements, I am actually very hapy that you raised them.

For the first one, I am very happy to announce that we are finishing and polishing a Toolset Google Maps addon. Keeping backwards compatibility with what Views has now, it will introduce a whole new way to add and interact with maps - shortcodes based, no code required at all. We will start with some nice improvements from the old maps feature, like custom markers with a GUI and more granular control on zooming, and we will build upon it. We plan to be iterating it to add marker clusters, map color settings and other surprises. And it will be shipped with a complete API for the power users, out of the box.

Regarding SASS and LESS, while I do like the idea of preprocessing CSS; it adds a level of complexity (it is not "natural" CSS after all) and server work that I am not sure we want to add at the moment. We take note of the suggestion for future reference, but do not hold your breath on this 🙂

Regards.

#339586

Hi Juan,

really great news ahead indeed! I can't wait to try this new maps functionalities!
I really thought about this and I also remember another thing that could be a really nice improvement: at the moment the user has to manually add latitude and longitude values.

I know there are a lot of sites out there that give this kind of information really quickly but if the views/maps system could automatically calculate these value upon address submission it would be great.
Also because other plugins already do this kind of task.

Thanks again
Best regards
Carlo

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.