Elxis CMS Forum

Extensions => Components => Topic started by: jesusto on January 16, 2014, 15:31:31

Title: Search form for just one city (or some of them) in IOSR4
Post by: jesusto on January 16, 2014, 15:31:31
Hi,

I´m using multisites and I want to be able to look for hotels in just one city.

I´m trying to hack the hotel search module to make the destination field hidden with a city selected (or maybe a select field for selecting between 2 cities), but I can´t get it to work.

Can anyone give me some clue? Is there an advance search module in progress?

Thanks a lot
Title: Re: Search form for just one city (or some of them) in IOSR4
Post by: datahell on January 16, 2014, 19:02:02
You can remove the location field and put a hidden field in its place with name "lid".
<input type="hidden" name="lid" value="45" />

Note: I will soon develop a search module without AJAX powered location search but with a drop down list of locations instead.
Title: Re: Search form for just one city (or some of them) in IOSR4
Post by: jesusto on January 16, 2014, 20:13:00
Thanks Datahell!!

It will be great to be able to choose accomodation type, prices and so on...

Great support as always.

Keep the good work!!