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 / [SOLVED] enlever mention annonces postées par user

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

[SOLVED] enlever mention annonces postées par user

More
11 years 1 month ago - 11 years 1 month ago #4483 by imedia
Bonjour,
J'essaie en vain de trouver comment ôter la mention à "afficher les annonces de "user" dans les annonces détaillées.
J'ai réussi à le faire pour la liste compacte des annonces avec l'overide mais celà ne fonctionne pas avec la liste détaillée.
Last edit: 11 years 1 month ago by loic.
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4485 by loic
Bonjour,

Vous souhaitez enlever cette mention dans le détails d'une annonce ou dans la liste lorsqu'elle est en mode détaillé ?

Pour le premier, il suffit de faire un override de la vue 'details'.

Pour le second, si vous avez copier le contenu de la vue 'list' dans votre override, le bloc de code à supprimer est ligne 334 à 347 (le numéro des lignes peut différer suivant vos modifications) :
<div>
<?php 
    if ($content->userid != 0)
    {
        echo JText::_('ADSMANAGER_SHOW_OTHERS'); 
	$target = TLink::getUserAdsLink($content->userid);
 
	if ($conf->display_fullname == 1)
		 echo "<a href='$target'><b>".$content->fullname."</b></a>";
	else
		 echo "<a href='$target'><b>".$content->user."</b></a>";
    }
 ?>
 </div>

Cordialement.
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4509 by imedia
Replied by imedia on topic enlever mention annonces postées par user
OK merci.
Y a t il quelque chose à modifier en overide avec le fichier dans le repertoire result ou c'est suffisant de faire les modifs uniquement dans le répertoire list ou detail ?
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4513 by loic
Bonsoir,

Vous devrez aussi faire un override de la vue result.
The following user(s) said Thank You: imedia, adarr
More
11 years 1 month ago #4530 by imedia
Replied by imedia on topic enlever mention annonces postées par user
Merci beaucoup.
The following user(s) said Thank You: adarr
More
11 years 1 month ago - 11 years 1 month ago #4547 by loic
Pas de problème :) .

Je passe le sujet en résolu.
Last edit: 11 years 1 month ago by loic.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.156 seconds
Powered by Kunena Forum