0 Members and 1 Guest are viewing this topic.

*

realinfo

  • *
  • 34
  • osDate Version: osDate v2.7
States Dropdown
« on: March 29, 2016, 08:12:37 AM »
I added States, gave them country code too,

States come according to country but not in dropdown , it just come Select StatesPunjabBiharRaj

So can't select

please guide to make it in Dropdown

*

Pharg

  • *****
  • 2,843
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: States Dropdown
« Reply #1 on: March 29, 2016, 12:43:54 PM »
I added States, gave them country code too,

States come according to country but not in dropdown , it just come Select StatesPunjabBiharRaj

So can't select

please guide to make it in Dropdown

Hi realinfo,

The States and country code are already in the system, they have to be installed by you in the admin area.
The advanced search has the dropdown states in it already.

Please look in that to customize the quick search of yours.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

realinfo

  • *
  • 34
  • osDate Version: osDate v2.7
Re: States Dropdown
« Reply #2 on: March 30, 2016, 05:14:53 AM »
I tried to install from given code files


Even added my own


But for states, dropdown not coming while dropdown is ok for country

*

Pharg

  • *****
  • 2,843
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: States Dropdown
« Reply #3 on: March 30, 2016, 06:28:18 AM »
Hi realinfo,

You don't seem to give enough details, are you talking about the quick search or the advanced search??

There is not states dropdown in the quick search which is in the searchprofile.tpl.
States dropdown is only in the advanced search being the advsearch.tpl.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

realinfo

  • *
  • 34
  • osDate Version: osDate v2.7
Re: States Dropdown
« Reply #4 on: March 30, 2016, 06:40:34 AM »
When someone sign up

That time states drop down not come while country drop down works OK

*

Pharg

  • *****
  • 2,843
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: States Dropdown
« Reply #5 on: March 30, 2016, 07:24:59 AM »
Hi realinfo,

For as long as I remember, even when the original developers were still around that long gone now, it has never had a Sates drop down bar, you have to type it in, since it was also made for many country's that don't have states.

But as you can see in the pic, the states are there.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

realinfo

  • *
  • 34
  • osDate Version: osDate v2.7
Re: States Dropdown
« Reply #6 on: March 30, 2016, 10:44:07 AM »
If we add States with country code, then under specific country it has to come as dropdown, But only it comes in written form and thus can't be selected

*

Pharg

  • *****
  • 2,843
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: States Dropdown
« Reply #7 on: March 30, 2016, 11:29:04 AM »
Hi realinfo,

If you want it that way, then hire a coder sorry to have to say!
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35