Skip Navigation

[Resolved] My map, which originally worked, broke – no more items found

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 5 replies, has 1 voice.

Last updated by Minesh 1 month, 3 weeks ago.

Assisted by: Minesh.

Author
Posts
#2801894

I am trying to:
Render a map with Venues (post type for museums, galleries) that have ongoing or future Exhibitions (child post type to Venues, filter is "end date of exhibition lies in the future")

Link to a page where the issue can be seen:
hidden link

I expected to see:
Pins of at least 20 Venues on the map

Instead, I got:
"Keine passenden Einträge vorhanden" (no matching entries) text message.
The problem seems to be with the filter in the [current-and-future-exhibitions] view that generates the list of venue IDs matching the criteria of ongoing/future exhibitions).
hidden link

The map has worked for years but now it is broken 🤔

Sometimes maps issues could be fixed by reinstalling the Toolset Maps plugin, but in this case this didn't help 😢

#2802019

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

I see you are using the following view:
=> hidden link

And with the above view, you added the following "Query Filter" for custom field "To":

Select items with field:
To is a string greater than or equal TODAY()

Do you have any Venue post whose "To" date is greater than or equal today?

#2802021

Thank you Minesh, good point.

Indeed I must have made a mistake when reconfiguring the View after trying myself to fix it… the post type of this view should be Exhibition not Venue. "To" is a custom field for exhbitions.

I have corrected this, so it is now as it was originally (the way it had worked once). Alas, the result is still "no matching entries" e.g. on hidden link

#2802025

Minesh
Supporter

Languages: English (English )

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

Can you please check now: hidden link

With the following view:
=> hidden link

I've adjusted the view's loop Editor section code as given under:

<wpv-loop>
			[wpv-item index=other]
				[wpv-post-id item="@venue_exhibition.parent"],
			[wpv-item index=last]
				[wpv-post-id item="@venue_exhibition.parent"]
		</wpv-loop>

And with the view that displays the map, I've adjusted the marker_id attribute as given under:
=> hidden link

[wpv-map-marker map_id='map-6' marker_id='marker-[wpv-post-id]' marker_field='wpcf-geolocation']

Can you please check now it works as expected and I can see the map.

#2802037
Bildschirmfoto 2025-03-24 um 15.11.44.png
Bildschirmfoto 2025-03-24 um 15.11.52.png

Thank you, yes this looks much better now! So obviously the terminology to make the parent-child connections has changed?

Now on the map, the pin into title is by default surrounded by a blue rectangle, which was not there originally (and should not be there) – where does this come from, how can I get rid of it again?

Thank you!

#2802182

Minesh
Supporter

Languages: English (English )

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

That is due to the bb-press theme CSS conflict. That is adding the outline to the anchor tag.

To fix that I've added the following CSS code to your following view's custom CSS box:
=> hidden link

h4 > a:focus{ outline:0px !important; }

I hope this fixed the issue and you're welcome to mark resolve this ticket.