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 / Changement image default.gif

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.

Changement image default.gif

More
12 years 5 months ago #5266 by leondelyon
Changement image default.gif was created by leondelyon
Bonjour,
comment ajouter une image sur la ligne qui regroupe la liste des annonce ? voir le fichier joint.
Correspond au code suivant, dans components/com_adsmanager/views/list/tmpl/default.php
<img class="imgheading" alt="http://localhost/components/com_adsmanager/images/default.gif" src="http://localhost/components/com_adsmanager/images/default.gif">
Rien trouvé dans les paramétres config
A+
L
Attachments:
The following user(s) said Thank You: adarr
More
12 years 5 months ago #5276 by loic
Replied by loic on topic Changement image default.gif
bonjour,

Lorsque vous souhaitez modifier le code d'une vue, vous pouvez faire un override de la vue en question.
Voici un lien pour vous aider :
www.joomprod.com/documentation/doc-view-override.html
The following user(s) said Thank You: adarr
More
12 years 5 months ago #5280 by leondelyon
Replied by leondelyon on topic Changement image default.gif
Bonjour,
le probléme c'est qu'il faut, apparement modifier:
components/com_adsmanager/views/list/tmpl/default.php, à la ligne, je crois,:
<h1 class="contentheading">
<?php
if ($this->list_img != "") {
echo '<img class="imgheading" src="'.$this->list_img.'" alt="'.$this->list_img.'" />';
}
N'étant pas un pro du code php, comment modifier le nom du fichier, defaut.gif, afin de mettre une autre image ?

Merci,
L
The following user(s) said Thank You: adarr
More
12 years 5 months ago #5298 by loic
Replied by loic on topic Changement image default.gif
Bonjour,

Vous pouvez changer les images des catégories dans l'administration.

Il vous suffit simplement d'éditer la catégorie à laquelle vous souhaitez changer l'image et d'utiliser le champ correspondant pour uploader l'image de votre choix.

Dans le cas ou aucune image n'a été téléchargé pour une catégorie, celle-ci prendra l'image par défaut.
The following user(s) said Thank You: adarr
Time to create page: 0.104 seconds
Powered by Kunena Forum