Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
Search form for just one city (or some of them) in IOSR4
« previous
next »
Print
Pages: [
1
]
Author
Topic: Search form for just one city (or some of them) in IOSR4 (Read 3983 times)
jesusto
Jr. Member
Posts: 68
Search form for just one city (or some of them) in IOSR4
«
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
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Search form for just one city (or some of them) in IOSR4
«
Reply #1 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.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
jesusto
Jr. Member
Posts: 68
Re: Search form for just one city (or some of them) in IOSR4
«
Reply #2 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!!
«
Last Edit: January 16, 2014, 20:19:59 by jesusto
»
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
Search form for just one city (or some of them) in IOSR4