Skip Navigation

[Resolved] Split: Split: Styling search form and make the search work – display map

This support ticket is created 4 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 9 replies, has 2 voices.

Last updated by kjetilF 4 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1416401

Hello again

3 - Map
(from the other thread - https://toolset.com/forums/topic/styling-search-form-and-make-the-search-work/ )
Also the map now seems to work! (and the variety of settings are great - well made!)
I say "seems" because not all holiday homes show up - but that again is maybe because the map only shows the 9 results now being showed, correct?
--> Is there a way to make the map show ALL homes, not just the nine visible in the list above?

Thanks again
Kjetil

#1416405

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

3 - Map
(from the other thread - https://toolset.com/forums/topic/styling-search-form-and-make-the-search-work/ )
Also the map now seems to work! (and the variety of settings are great - well made!)
I say "seems" because not all holiday homes show up - but that again is maybe because the map only shows the 9 results now being showed, correct?
--> Is there a way to make the map show ALL homes, not just the nine visible in the list above?
==>
Just to ensure for which link you are asking, can you please share the link so that it will help me to check and guide you in the right direction.

#1416557

Sure
hidden link
Its kept private, so you'd need to login to see it
The map is at the page bottom

And - while we're on to it: To show some nice hint/popup content: Could you please point me to a guide for this. Those I found seem outdated... I'd like to display eg a featured image, post title etc
Thanks

#1417639

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thanks for sharing the details.

Actually, the map block you added is respecting the current view block settings and for the view block, you have set the pagination settings to 9 items per page and that is why it is showing the only 9 items markers on your map. Do you still want to display all markers belongs to houses on the map?

Regarding the hint/popup content:
===>
I've added the post title as hint and featured image and post link as popup content for now.
Please check the following screenshot for reference:
=> hidden link

#1418679

Hello again, Minesh

"Do you still want to display all markers belongs to houses on the map?"
Yes, please, if that is possible

Regarding the hint/popup content:
Nice! - just about how I'd like it to be. Thanks
I managed to put a link on the image + placing the location name below the image, but not to make the image n landscape format (code below, removed the image adjusting attempt).
Also - even more important:
The image, name and link would have to be dynamic, pointing to each property... - hope that is possible. (You might have a set of short codes that can be used?)

Thanks again
I must say, as I said in the end note of the first thread, that I really appreciate the support you provide - also when I keep coming up with new things extending this thread 🙂
Kjetil

<a href="<em><u>hidden link</u></em>"><img width="150" height="150" src="<em><u>hidden link</u></em>" class="attachment-thumbnail size-thumbnail wp-post-image" alt="Casa Monsignore Toscana - Labellavita.no" srcset="<em><u>hidden link</u></em> 150w, <em><u>hidden link</u></em> 300w, <em><u>hidden link</u></em> 100w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<br clear="all"/>
<a href="<em><u>hidden link</u></em>"><strong>Monsignor della Casa Country Resort & Spa</strong></a>
#1421491

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As the original ticket was marked resolved, I, unfortunately, lost the access details. Can you please send me admin access details and I will try to add another map that will list all houses.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1425863

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Merry Christmas! 🙂

Unfortunately - the access details you just shared is not working at this end. When I try to log in it says: username Helper is incorrect

Can you please send me working access details.

I have set the next reply to private which means only you and I have access to it.

#1425933

Sorry, must have mistyped something
Have copy-pasted the password from the private post and tested it - worked
🙂

#1425991

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

"Do you still want to display all markers belongs to houses on the map?"
Yes, please, if that is possible
==>
I've created the following view that displays all the houses on map;
=> hidden link

And then added this view to your page at bottom of the page - you should remove your existing map and format the above map view I just created as required:
=> hidden link

The image, name and link would have to be dynamic, pointing to each property... - hope that is possible.
==>
Yes - its already possible as its coming from dynamic source but now, you need to adjust those popup content and all with the view I just created and it will be dynamic content only:

#1436711

Hey
Thanks - this is getting quite close
I managed to style the map and the popups (image size and correctly sized link under image) - not too easy, I must admit, in the old interface...
? - I have gone through help pages like https://toolset.com/documentation/user-guides/maps/display-on-google-maps/displaying-markers-on-google-maps/
but still can't figure out how to put a link on the images in the popups.
? - Also, the popup images appear in very different sizes. I have set them to medium to get them a a bit bigger than the thumbnail - and I have tried to set width and height in different ways without luck - one example below.
Guess I just need the correct syntax...
Thanks again
Kjetil

          [wpv-map-marker map_id='map-8' marker_id='marker-[wpv-post-id]' marker_title='[wpv-post-title]' marker_field='wpcf-property-location']
          [wpv-post-featured-image size="medium" width='300' height='220']<br />
          [wpv-post-link style="font-size: 2em;"]
          [/wpv-map-marker]