Skip Navigation

[Resolved] different map marker

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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 17 replies, has 2 voices.

Last updated by Mateus Getulio 1 year, 3 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2629859
term.jpg
Capture d’écran 2023-08-03 102739.jpg
Capture d’écran 2023-08-03 101151.jpg

Hello
I've read all the articles about this problem and tried to follow the instructions precisely.

and I can't do it
Here you are with the ordinary markers
hidden link
and here with original markers
hidden link
and on the screenshot the different elements of the page.

Can you help me
Thankyou

#2630059

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for contacting our support.

Could you please elaborate a little more on this issue, so I can better understand? E.g. Is there an error message, what are the steps you've tried, etc.

In addition to that, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

#2630577

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I can see the following conditional and marker inside that:

[wpv-conditional if="(has_term('bouchon27', 'bouchons', null) eq '1')"]
[wpv-map-marker map_id="map-5" marker_icon="<em><u>hidden link</u></em>" marker_id="marker-[wpv-post-id]" marker_field="wpcf-etape"]
[wpv-post-link]
[/wpv-map-marker]
[/wpv-conditional]

Just so I can debug this better, what is the other conditional and the other marker?

Thank you, please let us know.

#2630645

Hello
At the moment I have three markers (21,26,27), but by the end of the project I'll have about fifty (from 1 to 50...).

Do you think it's possible ?

[wpv-conditional if="(has_term('bouchon21', 'bouchons', null) eq '1')"]
[wpv-map-marker map_id="map-5" marker_icon="hidden link" marker_id="marker-[wpv-post-id]" marker_field="wpcf-etape"]
[wpv-post-link]
[/wpv-map-marker]
[/wpv-conditional]

[wpv-conditional if="(has_term('bouchon26', 'bouchons', null) eq '1')"]
[wpv-map-marker map_id="map-5" marker_icon="hidden link" marker_id="marker-[wpv-post-id]" marker_field="wpcf-etape"]
[wpv-post-link]
[/wpv-map-marker]
[/wpv-conditional]

[wpv-conditional if="(has_term('bouchon27, 'bouchons', null) eq '1')"]
[wpv-map-marker map_id="map-5" marker_icon="hidden link" marker_id="marker-[wpv-post-id]" marker_field="wpcf-etape"]
[wpv-post-link]
[/wpv-map-marker]
[/wpv-conditional]

#2630647

one other thing
as on this page with the same marker I need the pop up content with different markers
hidden link

thank you
in the popup content

<div class="wp-block-toolset-blocks-container tb-container alignwide" data-toolset-blocks-container="c9e84b7e14202065a02c6518bbab2f12"><div class="entry-content"> <div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="e10120f80d4c9875b3aeb2324ccf9943"><p><div style="width: 450px;" class="wp-video"><!--[if lt IE 9]><script>document.createElement('video');</script><![endif]--> <video class="wp-video-shortcode" id="video-215-1" width="450" height="325" loop="1" autoplay="1" preload="off" controls="controls"><source type="video/mp4" src="hidden link" />hidden link">hidden link; <p><img src="hidden link" title="bouchon27petit" class="attachment-custom aligncenter" /></p> <h6 style="text-align: center;">Jean Michel</h6></div> </div></div>

#2631435

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I was going to start to debug this but the maps page are throwing a 500 internal error.

I noticed a few changes in the site, for example, the WPML plugin was active but it is no longer enabled.

Are you changing the site right now? If so, can you please give me a heads up once you finish it so I can resume checking this issue with the markers?

Thank you, please let us know.

#2631445

Hi
the only thing I've changed is to update map, types and block this morning. I don't use wpml

#2631469

I went back to yesterday's version without upgrading the plugin toolset and it's fine.

#2631471

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for doing it.

I'm debugging this issue now, I'll send you an update as soon as possible.

Thank you.

Mateus

#2631473

Thanks, but I'd also like to know why this update (3 tooolset plugins) has disorganized the site.

#2631503

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

With regard to the maps, I added those three shortcode blocks and they're working as expected. I made a duplicate page of that one you shared here: hidden link

The issue was only with the conditional. For example, for the marker 'bouchon26' by replacing the taxonomy in the conditional from

[wpv-conditional if="(has_term('bouchon26', 'bouchons', null) eq '1')"]

to 'bouchon' in singular it started to work as expected:

[wpv-conditional if="(has_term('bouchon26', 'bouchon', null) eq '1')"]

You should be able to add as many custom markers as needed by following this method.

Regarding the updates causing issues to the site. Are you able to create a staging or development version of the site where we can try to update it without breaking the live site?

We need to update it in order to debug what's causing such issues.

Thank you, please let us know.

#2631571

Thank you but
why are my markers so small they are normally 120 pixels high and where are my popups?

<div class="wp-block-toolset-blocks-container tb-container alignwide" data-toolset-blocks-container="c9e84b7e14202065a02c6518bbab2f12"><div class="entry-content"> <div class="tb-fields-and-text" data-toolset-blocks-fields-and-text="e10120f80d4c9875b3aeb2324ccf9943"><p><div style="width: 450px;" class="wp-video"><!--[if lt IE 9]><script>document.createElement('video');</script><![endif]--> <video class="wp-video-shortcode" id="video-215-1" width="450" height="325" loop="1" autoplay="1" preload="off" controls="controls"><source type="video/mp4" src="hidden link" />

Hi Mateus
It's good for marker size.
on
hidden link
there are the three different markers but without the right popups

on
hidden link
there are two markers each time and in the yellow marker there's the right popup
which contains the "pourlepopup" content model
id 318.
How do I put this popup in the version
hidden link VERSION?

I made a copy of the site and the database, you can work these pages are not actives on the site currently

#2631767

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

You can customize the popup by changing the text inside the sortcode: [wpv-map-marker]Pop up content[/wpv-map-marker].

As an example, I edited this page: hidden link for you to see.

In there, I customized the taxonomy 'bouchon26, adding the popup shown here(hidden link) and adding a demonstrative text to the other bouchons in the loop so you can see how it works.

More help an examples on using that shortcode:
https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-marker

Thank you,

Mateus

#2631927

Thanks a lot Mateus.
What about the problem of updating the toolset plugins that disrupt this site? and particularly the map
Guy