11 years ago
2
Topic

Hi everybody,

I'm using the Select Casscade Field to register states and cities, works perfectly, thanks.

However, in Brazil there are hundreds of cities, I would like to appear in the Search Form only cities that were registered.

The states I can implement the template override, but the options of cities are dynamically generated, I can't filter them.

Any suggestions?

Best Regards,

Get a VIP membership
97 Posts
Anjo
10 years ago
1
Level 1

I have a similar setup of states and cities which I created as categories and subcategories. Then in Select Dynamic Cascade

Table * -    #__categories

Where -    published=1

You can unpublish the categories (cities) not registered and they won't appear until you publish them.

Hope this helps

Anjo

10 years ago
0
Level 2

Hi Anjo,

In my case, I don´t use as categories and subcategories.

I have a lot of cities in one table in bd, I need filter with other Content Type table.

Thank you!

Get a VIP membership