clowride VIP
Total posts: 1,022
20 Янв 2015 19:33

hello i have a custom template for module filter.everything work fine except i would like remove map from adress and map field and keep only "ENTER A CITY" Please any help would be great in comment, an example i did thank you very much

Последние изменения: 21 Янв 2015


clowride VIP
Total posts: 1,022
20 Янв 2015 19:35

klox7 VIP
Total posts: 914
20 Янв 2015 19:47

Do a custom template in components/com_cobalt/fields/geo/tmpl/filter and select it in field configuration Filtering - General->Filter template for module.

Maybe you can try with this template (I used it at some time ago) no_distance


clowride VIP
Total posts: 1,022
20 Янв 2015 20:15

i tried your template but geo filter is hidden but thank you very much for advice :)


clowride VIP
Total posts: 1,022
20 Янв 2015 21:10

ok in fact i need to hide map because if i delete map, i can not google suggestions in city field i do not know hwo can i do


Sergey
Total posts: 13,748
21 Янв 2015 08:31

Even if you keep google suggestion but hide the map, it is useless. because Google suggestion works ONLY to position maker on the map. No map, no use for google suggestions.


clowride VIP
Total posts: 1,022
21 Янв 2015 10:46

ok i understood thank you i would like map right next to "Distance Radius" (see in attachment), i tried but i can not is it possible map

?


klox7 VIP
Total posts: 914
21 Янв 2015 11:43

clowride i tried your template but geo filter is hidden but thank you very much for advice :)

Yes, this shows just the bottom of template. First you select country and based on what you selected then you can select city.


klox7 VIP
Total posts: 914
21 Янв 2015 12:35

clowride i would like map right next to "Distance Radius"

Try create custom template, open and

-add class span6 to .form-inline and style margin-left: 0;
-add class span6 to #map_canvas and style width: 50%; margin-left: 0;
-remove <br> at line 93

this is just a quick customization and you can do more with css. Result is

map


clowride VIP
Total posts: 1,022
21 Янв 2015 12:40

Thank you very much for your help :) :) :) thank you

Работает на Cobalt