This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
37 Posts
austenn01
4 years ago
Topic

Hello,

I am at a complete loss here. I have the address to co-ordinates field, and this is working. The Longitude and latitude is being populated and if I go into phpmyadmin, i can see that the lat and long are being saved correctly into the database.

I purchased the map template, and I have followed all the instructions on how to set this up that I could find in your forums. EG:

http://www.seblod.com/community/forums/forms-content-types/seb-map-e-address-to-coordinate-e-single-item

http://www.seblod.com/products/51

After all of this, NO Map shows. I have created an Events Directory, and I need the map to show on:

a) The Category blog page (where it shows snippets of each event in a blog list, with a link to read the full event). The map will show on this page at the top of the page, and it will show markers for ALL the events.

b) when someone is on an individual Event listing page, there should be a map on this page that shows 1 marker ONLY for that specific Event. (for this, i added the 'module field', which linked to a seblod module.

But, as per above, nothing shows at all, i DONT even see a google map with no markers, there is no map showing at all.

Please help..i can provide logins if desired.

Get a Book for SEBLOD
4 years ago
1
Level 1

Hi austenn01,

first thing to check, are you sure that you search type give you some results?

You can display the debug to see if you have some result. (tab configuration)

Do you display the search type directly from a menu item or in a SEBLOD List module ?

Regards.

Lionel

37 Posts
austenn01
4 years ago
0
Level 2
4 years ago
1
Level 1

Hi austenn01,

like the message said, you have no result, so it's not coming from the display, but more on the search.

In your first screenshot, you can see the parameter "Debug". I advise to turn it "On" to see the query to the database.


In the search form, on the two fields, which match have you set?


In the tab "configuration", you can force the display of the template even if there is no result.


regards.

Lionel

37 Posts
austenn01
4 years ago
0
Level 2

Hello,

The 'Match' is set to: 'Exact'. I belive this is the default setting...

Where is the setting to 'force the template'? Is it 'Action = Render template'?

____

Here is the error message after enabling debig:

SELECT t0.id AS pid,t0.pk AS pk,t0.pkb AS pkb,t0.parent_id as parent,t0.cck AS cck,t0.storage_location AS loc,tt.id AS type_id,tt.alias AS type_alias
FROM `#__cck_core` AS t0
LEFT JOIN `#__content` AS t1 ON t1.id = t0.pk
LEFT JOIN `#__cck_core_types` AS tt ON tt.name = t0.cck
WHERE t1.state = 1 AND t1.access IN (1,1,2,3,6) AND ( t1.publish_up = '0000-00-00 00:00:00' OR t1.publish_up <= '2015-05-20 13:31:58' ) AND ( t1.publish_down = '0000-00-00 00:00:00' OR t1.publish_down >= '2015-05-20 13:31:58' ) AND t0.cck = 'map'
ORDER BY t1.title ASC

0.012 seconds (0.012); 38.83 MB (38.831) - afterSearch [Cache=OFF] = 0 result.
0.107 seconds (0.096); 43.36 MB (4.530) - afterRender

Thanks,

4 years ago
1
Level 1

Hi austenn01,

like you see, you have 0 result to display, it's normal.

The problem is not in the map render, but in your search.

Be sure that all your content created with the content type "map" are published and are public...


Yes, to force the template even if you don't have result, you must set the configuration tab, section "No result" the parameter "Action = render Template"


regards.

Lionel

47 Posts
zaliyanna
4 years ago
0
Level 2

Hi Lionel

I try to display the result map in seblod list module but the map does not appears in results

I dipslayed the debug I have 2 results but no map

4 years ago
2
Level 1

Hi Meriam,

difficult to say something like that.

Be sure that the map container have a size (with/height)

Be sure to not have some JS error...


Regards.

Lionel

47 Posts
zaliyanna
4 years ago
0
Level 2

Thanks I add a suffixe class for  the container and I specify the height and it works now.

47 Posts
zaliyanna
4 years ago
0
Level 2

Hello Lionel I have another problem with the map 

When I have a line feed in the place text or in the snippet the map does not appear

thanks

Get a VIP membership