Maverick

Dropdown chain selection with 5000 pages

Recommended Posts

Hi there,

I'm looking for someone who could modify my current dropdown chain selection based on pages (parent (countries) -> child (country provinces) -> sub child (cities) ) or propose different approach.

What I'm trying to do is display pages with cities description (including picture) based on selection country -> province -> cities

About 50 countries, per country about 10/20 provinces and per province about 10/30 cities

The only requirement for this is that it won't slow down the site. At the current moment the pages are loding quite long. If you are interested I'll send you the dev url

Share this post


Link to post
Share on other sites
28 minutes ago, apeisa said:

Is It admin or frontend? This might help you https://processwireshop.pw/plugins/dynamic-selects/

It is worth mentioning that the developer ( @kongondo ) is away for a while, see:

Also, note this quote: "A MarkupDynamicSelects for use in the frontend is planned if there is enough demand for it.". 

You can find it in the intro post. And people have already started demanding it :)

 

  • Like 1

Share this post


Link to post
Share on other sites

Thanks guys, I just saw it indeed. I think its exactly what Im looking for. Its for front end. I will just wait. Maybe kongondo will decide to release the front end possibilities. That would be amazing.

Share this post


Link to post
Share on other sites
On 23/08/2016 at 9:47 PM, Maverick said:

The only requirement for this is that it won't slow down the site. At the current moment the pages are loding quite long.

The key thing is to load the select options via AJAX. There are are jQuery plugins that can help you do this, for example:

http://plugins.krajee.com/dependent-dropdown/demo

Edit: a couple of other examples...

http://www.appelsiini.net/projects/chained

http://tutorialzine.com/2011/11/chained-ajax-selects-jquery/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.