Jump to content

Dropdown chain selection with 5000 pages


Maverick
 Share

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

Link to comment
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
Link to comment
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/

Link to comment
Share on other sites

 Share

×
×
  • Create New...