Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / No markers displaying

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

No markers displaying

More
8 years 2 months ago - 8 years 2 months ago #23743 by Luluqz
No markers displaying was created by Luluqz
Hello,
I'm using adsmanager with mod_adsmanager_adsmap.
On the detail page, the marker is well displaying.
But on the list page, with all the ads, there is no markers on the map.
When I try var_dump($markers) (in mod_adsmanager_adsmap/default.php), it return an empty array ( array(0) { } )

How can i get the markers ?

Thanks


Bonjour,

J'utilise ads manager (3.1.6) avec le module mod_adsmanager_adsmap.
Sur la page détail, le marker s'affiche correctement sur la map.
Sur la page list, aucun markers ne s'affiche.
Un var_dump($markers) dans mod_adsmanager_adsmap/default.php retourne un array vide array(0) { }.

Comment récupérer la liste des markers ?

Cdt,
Last edit: 8 years 2 months ago by Luluqz.
More
8 years 2 months ago #23755 by loic
Replied by loic on topic No markers displaying
Bonjour,

Il suffit de mettre à jour AdsManager, un bug a été corrigé pour ce problème.

cordialement.
More
8 years 2 months ago - 8 years 2 months ago #23760 by Luluqz
Replied by Luluqz on topic No markers displaying
J'ai mis à jour AdsMananger ( 3.1.6 -> 3.1.8 ), toujours le même problème (la variable $markers est vide)
Last edit: 8 years 2 months ago by Luluqz.
More
8 years 2 months ago #23768 by loic
Replied by loic on topic No markers displaying
Bonjour,

Comment affichez vous la carte sur la page liste ? Affichez vous plusieurs fois cette même carte sur la même page ?
Avez vous un message d'erreur affiché dans la console du navigateur (f12) ?

Cordialement.
More
8 years 2 months ago - 8 years 2 months ago #23773 by Luluqz
Replied by Luluqz on topic No markers displaying
Bonjour,

La map est affichée grâce au mod_adsmanager_adsmap :

dans com_adsmanager/list/default.php
        if(@$conf->display_map_list == 1){
            echo TTools::loadModule('mod_adsmanager_adsmap', 'AdsMap');
        }

et dans mod_adsmanager_adsmap/default.php
         function initializemap() {
            var defaultLAtLng = new google.maps.LatLng(<?php echo $mapDefaultLat; ?>,<?php echo $mapDefaultLng; ?>);
 
            var myOptions = {
                zoom: <?php echo $mapDefaultZoom; ?>,
                center: defaultLAtLng,
                mapTypeId: google.maps.MapTypeId.ROADMAP
            };
 
            adsmap = new google.maps.Map(document.getElementById("map_canvaslist_<?php echo $uniqid; ?>"), myOptions);     
 
            <?php if(!empty($markers)){ ?>
                markers = <?php echo json_encode($markers);?>;
                loadMarkers(markers);
            <?php } ?>
        }

Ici la variable $markers est vide.
En pensant que le problème venait des mes overrides des component/module d'adsmananger, je les ai supprimés, mais le bug persiste.

Le module (mod_adsmanager_adsmap) est bien activé dans mon backend Joomla.
L'option "Afficher toutes les annonces sur la carte" est également activé dans la configuration d'AdsManager.

Le marker s'affiche correctement sur la page Détail, mais aucun marker sur la page list.

Aucun message d'erreur dans la console
Last edit: 8 years 2 months ago by Luluqz.
More
8 years 2 months ago #23783 by loic
Replied by loic on topic No markers displaying
Bonjour,

Pouvez vous envoyer un compte FTP et admin à support @ juloa.com (enlever les espaces) ?
L'équipe de support va corriger le problème.

Cordialement.
Moderators: perry
Time to create page: 0.151 seconds
Powered by Kunena Forum