ModuleSuchleiste
<wls-search-form query="duration=7; region_id=PL" fields="region_id,date_from,duration,people,boat_type_group,submit" redirect="/suchseite"></wls-search-form>
redirect
Seite (in diesem Fall "/suchseite") muss die Termin- oder Bootssuche eingebunden werden. Die Suchparameter werden automatisch an die URL gehängt.
Attribute
Dieses Modul stellt 3 Attribute zur Verfügung. query
und fields
und redirect
und row-class
. Mit dem query
Attribut lässt sich die Suche voreinstellen. Das fields
Attribut blendet die anzuzeigenden Filter ein bzw. aus, das redirect
Attribut definiert die Zielseite und das row-class
Attribut definiert, wann die Zeilen umbrechen.
row-class
verwendet das Bootstrap Grid. Wäre row-class="col-12"
so wird das Formular auf jeder Bildschirmgröße vertikal angezeigt.
Query Werte | Typ | Beispiel |
---|---|---|
date_from | DATE |
2019-03-05 |
date_to | DATE |
2019-09-09 |
duration | API |
btw:2,13 |
page | INT |
1 |
limit | INT |
12 |
boat_id | API |
in:1,2,3 |
typ | API |
w |
q | STRING |
Pedro Skiron |
basement | API |
lk:Marina % |
basement_id | API |
in:1,2,3 |
radius | INT |
100 |
address | STRING |
Teststrasse 1, 12123 Stadt |
team_id | API |
in:1,2,3 |
boat_type_id | API |
in:1,2 |
boat_type_group | API |
in:houseboat,sportboat |
region | API |
lk:Berlin |
region_id | API |
in:1,2,3 |
country | API |
DE |
model_id | API |
in:1,2,3 |
model | API |
in:Skiron 2,Skiron 3 |
manufacturer_id | API |
in:1,2,3 |
manufacturer | API |
in:Pedro |
decor | API |
in:TV,Sat |
animals | BOOLEAN |
1 |
special | BOOLEAN |
|
name | API |
Elena |
bond | API |
gte:100 |
oneway | BOOLEAN |
1 |
engine | API |
Diesel |
ps | API |
lte:15 |
length | API |
gte:4.4 |
width | API |
gt:1 |
height | API |
lte:2 |
depth | API |
gt:2 |
people | API |
btw:2,8 |
drive | API |
|
cabins | API |
btw:2,5 |
berth_fixed | API |
btw:2,5 |
berth_variable | API |
btw:2,5 |
toilets | API |
btw:2,5 |
showers | API |
btw:2,5 |
group | STRING |
model |
team | API |
in:CU1,CU2 |
check_in | INT |
5 |
check_out | INT |
|
category | API |
lkp:Last-Minute |
min_price | API |
gte:500 |
max_price | API |
lte:1500 |
Field Werte | Beschreibung |
---|---|
region_id | Region/Land |
date_from | früheste Abfahrt |
duration | Dauer |
date_to | späteste Ankunft |
sort | Sortierung |
boat_type_group | Bootsart |
people | Personen |
baths | Badezimmer |
cabins | Kabinen |
drive | Antriebsart |
thruster | Strahlruder |
q | Suchbegriff |
animals | Haustiermitnahme? |
license | ohne Führerschein? |
submit | Bestätigungsknopf |