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 / Support / AdsManager Support / impossible ajout les annonce favoris vue détails

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.

impossible ajout les annonce favoris vue détails

More
10 years 9 months ago #18371 by ferhatyanis
Replied by ferhatyanis on topic impossible ajout les annonce favoris vue détails
excuse moi j'ai pas bien compris , es que je dois remplacer la ligne 114 (dans le fichier default.php ) qui contient :

echo '<button id="like_'.$this->content->id.'" class="btn favorite_ads like_ad'.$favoriteClass.'">'.$favoriteLabel.'</button>';

__par ;

<button onclick='javascript:confirm("Voulez-vous vraiment ajouter cette annonce en favori ?");'>...</button>"

ou coller cette ligne au dessous ou au dessus
pareille pour le ficher default_jssor
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18376 by loic
Bonjour,

Excusez moi pour le manque de précision. Il vous suffit simplement de rajouter cet attribut dans le code du bouton :
onclick='javascript:confirm("Voulez-vous vraiment ajouter cette annonce en favori ?");'

Comme ceci :
echo '<button id="like_'.$this->content->id.'" class="btn favorite_ads like_ad'.$favoriteClass.'" onclick='javascript:confirm("Voulez-vous vraiment ajouter cette annonce en favori ?");'>'.$favoriteLabel.'</button>';

Cordialement.
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18380 by ferhatyanis
Replied by ferhatyanis on topic impossible ajout les annonce favoris vue détails
lorsque je rajoute votre code j'ai ce message d'erreur sur toutes les annonce avec une page blanche et l'annonces ne se charge pas

Parse error: syntax error, unexpected 'javascript' (T_STRING), expecting ',' or ';' in /home/reseaus8/public_html/test1/components/com_adsmanager/views/details/tmpl/default.php on line 114

vous puvez tester :

test1.reseausolidaire.fr/index.php/coups...le/180-prete-une-ps4
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18391 by loic
Bonjour,

Pouvez vous copier-coller la ligne ici ?

Cordialement.
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18404 by ferhatyanis
Replied by ferhatyanis on topic impossible ajout les annonce favoris vue détails
echo '<button id="like_'.$this->content->id.'" class="btn favorite_ads like_ad'.$favoriteClass.'" onclick='javascript:confirm("Voulez-vous vraiment ajouter cette annonce en favori ?");'>'.$favoriteLabel.'</button>';
More
10 years 9 months ago #18421 by loic
Bonjour,

Essayez comme ceci:
echo '<button id="like_'.$this->content->id.'" class="btn favorite_ads like_ad'.$favoriteClass.'" onclick="javascript:confirm(\'Voulez-vous vraiment ajouter cette annonce en favori ?\');">'.$favoriteLabel.'</button>';

Les guillements referment la chaine dans votre expression echo ''; c'est ce qui provoque l'erreur.

Cordialement.
The following user(s) said Thank You: adarr
Time to create page: 0.081 seconds
Powered by Kunena Forum