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 / ads manager ajouter champ dans url detail

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

ads manager ajouter champ dans url detail

More
10 years 9 months ago #6146 by Paco01
Hi, I have duplicated the url of the category at the start of Adsmaneger as follows:
www.mysite.com/login/1-vehiculos.html

and for the category menu I have this url:
www.mysite.com/category/vehiculos.html

achievement as the first change by the second?, any clues? ... thanks. :dry:
More
8 years 10 months ago #20617 by boost
Replied by boost on topic ads manager ajouter champ dans url detail
Bonjour

l'url des pages details d'annonces j'ai adsmanager-details qui s'affiche ??? comment le virer et par contre rajourer le champ ad_manufacturer avec le champ ad_headline
quelle est le fichier a modifier ??
merci pour vos informations

ads_clarity et adsmanager 3.15

www.bretweb.net
Editeur de : www.bateaux-doccasion.com
Toutes les annonces du nautisme
More
8 years 10 months ago #20627 by loic
Bonjour,

Les URLs sont construite dans le fichier 'components/com_adsmanager/router.php', pour ajouter un champs, il faut modifier la requête SQL dans la fonction 'getAdsmanagerRouteContent()'.
Pour retirer un element, il faut modifier le code à partir de la ligne 76.

Si ça ne fonctionne pas, vous pouvez aussi créer un nouveau menu-item pour la page de détails sans spécifier d'annonce, l'URL affichera alors l'alias de ce menu item.

Cordialement.
More
8 years 10 months ago #20634 by boost
Replied by boost on topic ads manager ajouter champ dans url detail
bon je suis certainement mauvais car je ne vois pas comment ne pas avoir adsmanager-details .... d'autant plus que je n'ai pas ce problème avec un adsmanager tournant sur un autre theme !

et ou est le champ du titre ad_headline pour rajouter avant ad_manufacturer ...

et encore moins menu-item sans spécifier d'annonce .....
Merci pour les infos

www.bretweb.net
Editeur de : www.bateaux-doccasion.com
Toutes les annonces du nautisme
More
8 years 10 months ago #20641 by loic
Bonjour,

Si vous utilisez AdsClarity et que vous l'avez installer à partir du quickstart, vous devriez avoir un 'Hidden menu' dans la gestion des menus de Joomla.
Vous devriez trouver un menu item qui a l'alias 'adsmanager-details' sur cette page, il vous suffit simplement de changer cet alias pour modifier 'adsmanager-details'.

Dans 'components/com_adsmanager/router.php', dans la fonction 'getAdsmanagerRouteContent()', vous devriez avoir cette ligne :
$sql = "SELECT ad_headline FROM #__adsmanager_ads WHERE id = ".(int)$id;

ajoutez votre champs comme ceci :
$sql = "SELECT ad_headline,ad_manufacturer  FROM #__adsmanager_ads WHERE id = ".(int)$id;

et ensuite, ligne 31 remplacez ceci:
$result = $db->loadResult();
$result= TTools::stringURLSafe($result);
$result = JString::substr($result,0,30);

Par ceci :
$result = $db->loadObject();
$result = $result->ad_headline.'-'.$result->ad_manufacturer
$result= TTools::stringURLSafe($result);
$result = JString::substr($result,0,30);

Modifier le 30 dans la dernière ligne si vous souhaitez que l'URL soit plus longue.

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