Osclass forums

Support forums => General help => 3.6.x => Topic started by: anivision on November 06, 2016, 04:43:31 pm

Title: [SOLVED] City area search field
Post by: anivision on November 06, 2016, 04:43:31 pm
Hi all!

Does anyone know how to add a search field for "city area"?

If you want to look at my site, it's located here: www.folkmuseum.se
(you can choose language in the upper right corner)

Best regards, Kent
Title: Re: [SOLVED] City area search field
Post by: anivision on November 06, 2016, 07:08:29 pm
And I thought that I had done a thorough search on this topic, and then just found the answer here on this forum ;D
Title: Re: [SOLVED] City area search field
Post by: duggirala_p on November 18, 2016, 08:55:33 pm
Anivision,
As you have marked the post as Solved, I hope you have found a solution,can you please provide a detailed solution for this , Thanks in advance.
Title: Re: [SOLVED] City area search field
Post by: anivision on November 19, 2016, 06:26:39 pm
In header.php I put this code in:
Code: [Select]
<input id="cityArea" type="text" value="<?php echo ucwords(Params::getParam('Select a city'OSCLASSWIZARDS_THEME_FOLDER)); ?>" name="cityArea" placeholder="<?php echo osc_esc_html(__("Cityarea"OSCLASSWIZARDS_THEME_FOLDER));?>" />
Title: Re: [SOLVED] City area search field
Post by: duggirala_p on November 21, 2016, 06:43:14 am
Thank you Annivision!