a bit of clarification ...
all the marker fields are toolset address fields . all the plugin does is get the related ids between club< > location (bi-directional)
on my old setup it was as so in the single_organizer.php file
<?php $ids = do_shortcode('[related_venues]');?>
<?php echo do_shortcode("[wpv-view name='show-venue-on-club-map-1' ids='" . $ids . "']");?>
you can view that page using the login details provided in my last post and visiting here
very easy, very simple and all functioing . the problem now is that im using elementor i dont know how to incorporate
<?php $ids = do_shortcode('[related_venues]');?> i need this so i can run
[wpv-view name='show-venue-on-club-map-1' ids='" . $ids . "'] from within elementor as i no longer have a single-organiser.php to duplicate the previuous get ids
in elementor if i use [wpv-view name='show-venue-on-club-map-1'] i get all the markers for all venues . i literally just need to run the php somewhere to do the shortcode for the ids of related venues .
as i have it now i have
in elementor i am running the shortcode [wpv-post-body view_template="duplicate-content-template-to-pull-venue-location-data-1"] here
versteckter Link
the contentent template is running [related_venues][wpv-view name="show-venue-on-club-map"] here
versteckter Link
the view is located here versteckter Link
, as you will see it is set to filter by "ids" , it cannot filter by ids because i dont know where to run the php
<?php $ids = do_shortcode('[related_venues]');?> or how to set the views marker to get the ids....
if in elementor i use [wpv-post-body view_template="duplicate-content-template-to-pull-venue-location-data-1"]
i get all locations on the map . (which is correct as no ids passed )
if i use [wpv-post-body view_template='duplicate-content-template-to-pull-venue-location-data-1' ids='" . $ids . "']
i get no locations (again correct as no ids )
so as you see this 1 line i think is killing my setup in the new elementor setup as it isnt being run anywhere
<?php $ids = do_shortcode('[related_venues]');?>
how can i use this line now ? its the key to my issue?
i hope this explains this better , waqas helped me set this up a number of years ago but i cant find the support tickets for this..
many thnaks again
martin