Hi, I bought the Map template. I can display search results on a map or lists view (depending on the selected template - map or table). But I need the both view on the same page. The map and the lists view under the map. Is there any way to do it? Thank you very much for response! Šárka
I think you can achieve that by placing the map in a module (seblod list module). You need to create 2 separate lists and search types with the same geolocation and search fields, one for the table search results one for the map view. Assign the map to a seblod module list and the other to normal search table template. Then assign map module above search results.
Hi Anjo, thank you very much for your quick reply. I tried the the suggested solution. I created 2 separate lists and search types with the same fields.
Each separately works well. But when I assign the map to a seblod module list, the map disappears. When I assign the table search to a seblod module list,
module is displayed correctly. So I turned procedure, I assigned the table to a seblod module list and the map view to normal search table template (see
http://psychiatrie.cz/index.php/deni-sit-zz/mapa-zz?cck=zdravotnicke_zarizeni&kraj=102&okres=7&adresa=&nazev_zarizeni=&boxchecked=0&search=mapa_zdravotnickch_zazen&task=search). But in the seblod module list is the number of items to display fixed and while the number of search results is high, the option of pagination is missing.
And the second question is: How can I assign map module above search results? I've tried different positions of seb_one templates, seb_table templates, but I did not display anything between search form and search results.
I am guessing that you are using select dynamic and
check boxes as your search fields and it appears that you have your
search form on show with both the map and table list search types. If
so, this means your search form will always show up together with
either the map or table depending on which one you assign to the
template. leaving the one you assign to the module to show only the map
or table. So, if you assign the map to the module, the map will show
under the table. The order of show will be - search form & table
together/map module. If you put map above it will be - map module/search
form & table together. If you put the table in a module the the
order will be - Search form and map together/table module etc.
2 ways you can solve this:
1- use two modules one for map one for search form
hide "show search form" in list and search type configuration or in
menu item so it will not show together with table or map template
b) assign the search form to a seblod search module - assign map to a seblod module list
c) place search form module above map
d) place map module under search form module
e) table should show under both - order = search form module/map module/main layout of table
your setup as is and use a template variation for search form where you
call all your search fields and then the module for the map. In essence
you will call your map module inside the search form template. The
table should show together with the search form under the map.
am using a template variation of seb minima to achieve what you looking
to do. I also use "no-number modules anywhere" plugin to call the map
module inside the template variation. you can see results while I am
click on button view map - I'm using bootstrap collapse function to show/hide map
Regarding the map not showing in a module, I did experience that while I tested your setup but when I re-freshed the page the map showed ok.
Hope this makes sense if not let me know and I'll try to put a tutorial together that I use for my set up.
A good way of achieving what
you are looking for is to use SEBLOD Form & List Pack (2 plug-ins)
instead of a third party plugin likeno-number.
It displaysa SEBLODForm ora SEBLODList inside a content, without modules
You need to create 2 lists and
search types for your content (blog results). One with the map template the other as a normal list and search
Then create a field inside the
normal search type using the list pack plugin and call the map search with storage