chaosad2
Forum Replies Created
-
Sorry
It works fine after disable / enable plugin. ??
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Change maps name in layerswitchTested… and approved !
Thanks !
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Change maps name in layerswitchHi,
I tried to add “tiles” in layerswitch with this code :
[layerswitch tiles=”OSM-France,Cyclo,Randos,VTT,Ski” providers=”CyclOSM,GeoportailFrance.plan,GeoportailFrance.orthos,GeoportailFrance.parcels,Thunderforest.Outdoors”]
In switcher, I can see each maps from “providers”, but just the first one in “tiles”.
Can I use more of one map with tiles ?
If I order maps differently in “tiles”, (ex : “Cyclo” first) I can always see the first one again (-> Cyclo).
Forum: Plugins
In reply to: [Frontend Admin by DynamiApps] No more fields or buttonHi, it works with ACF v6.0.7. So it’s an update issue.
I needed to add “submit” button, but it works.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Base map is different on mobileThank you. I disabled this option. It was so simple! ??
Forum: Plugins
In reply to: [Travelers' Map] Alimentation des points par ACF ?Bonsoir Camille,
Merci pour votre réponse. Je suis flatté que vous pensiez que je suis développeur, je fais donc illusion ! ??
Je me considère plut?t comme bricoleur du dimanche, mes compétences sont hélas limitées. Je me débrouille cependant avec des copié / collé et des modifications à tatons.
Ce que vous m’expliquez me para?t assez complexe de prime abord.
Je vois dans le fichier les références aux latitudes et longitudes des points.
Ce que je sais (ou crois savoir), c’est que je peux récupérer les données de mes champs en tant que variables en utilisant en php par exemple :
$longitude = get_field(‘longitude’);Cela vous permettrait-il de m’éclairer un peu plus ?
Thanks for your answer.
I gonna try to modify this code.Another option :
Is it possible to apply filter on current author archive (where all articles are shown) ?Forum: Plugins
In reply to: [Leaflet Map] Elevation shown inside map (not outiside) ?Ja, es ist schade ! Es tut mir wirklich leid!
Fran?ais -> English -> Deutsch… ??
I like to test maps / navigation tools.
I don’t know OsmAnd, I gonna try it.
Ths’kd for the advice.Forum: Plugins
In reply to: [Leaflet Map] Elevation shown inside map (not outiside) ?It’s a shame.
Users don’t need a so complete tool than OsmAnd (but I gonna try it).
Sometimes, you just need to know where you are on map (without any navigation tools).
Nice job again, thanks for your help.Forum: Plugins
In reply to: [Leaflet Map] Elevation shown inside map (not outiside) ?Well, tested and… approved !
It seems to work fine on my website. Very useful with fullscreen map on mobile (you can see map AND elevation).
Thank you very much for helping me.A last question : Do you preview to add geolocation control later ?
I use locate.control on another html website (https://github.com/domoritz/leaflet-locatecontrol). Very useful for user (hicker, mountain bikers, etc.)Forum: Plugins
In reply to: [Leaflet Map] Elevation shown inside map (not outiside) ?Thank you for your job!
Sorry, I really want to test it, but… I don’t understand how to do it.
Should I download github version and upload it in my website?Forum: Plugins
In reply to: [Extensions for Leaflet Map] File name / CAFHi,
Sorry, I didn’t see your answer.
Thanks, it works perfectly !Forum: Plugins
In reply to: [Extensions for Leaflet Map] File name / CAFSorry, it doesn’t work :
Parse error: syntax error, unexpected ‘&’ in /homepages/38/d224481250/htdocs/trackserver/wp-content/themes/bam-theme-enfant-creation-new-slang-1660112514/functions.php on line 71
It seems to be the first “&”, just after “do_shortcode(“.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] File name / CAFI tried both of them.
SGPX shortcode seems to work on my website, elevation shortcode too (I tried both of them).
My actual problem :This code create a shortcode, showing AGGPX shortcode with ACF file name :
// Get the GPX URL and tranform into a valid shortcode for the 'WP-GPX-Maps' plugin function transform_GPX_URL_into_shortcode() { global $post; // Get URL from ACF 'fichier_gpx' field $url = get_field('fichier_gpx', $post->ID)['url']; // Keep only the folder name, without the domain $url = substr($url,strpos($url,'/wp-content')); // Add info to create the shortcode and return the url string return $url = '[sgpx gpx="' . $url . '"]'; } add_shortcode('carte','transform_GPX_URL_into_shortcode');
But when I add [carte] in a shortcode widget, it writes (perfectly !) AGGPX shortcode text, but don’t show the map.
I don’t know why… ??
Forum: Plugins
In reply to: [Extensions for Leaflet Map] File name / CAFThanks for your answer.
Yes, I know raruto, it works fine.
Since yesterday, I changed some things on my website.
I added code in function.php. Now :
1) GPX file is added in each article as a custom field with ACF.
2) I can include ACF file field adress automatically in a specific generated shortcode, using WP-GPX-Maps.
But I just have a problem, shortcode, added in a widget zone (using shortcode widget), is shown as text, and I can’t see map.
For example, I can see [sgpx gpx=”/wp-content/uploads/gpx/00_gtm_integral.gpx”], but not the map itself. ??