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 / Référence annonce dans email

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.

Référence annonce dans email

More
12 years 5 months ago #5485 by leondelyon
Référence annonce dans email was created by leondelyon
Bonjour,
version v2.9.11 sur Joomla v3.3.0.
Dans la zone contact de chaque annonce j'ai mis les champs réference, téléphone, et email.
Comment faire lorsque l'on clique sur l'email pour mettre la référence de l'annonce dans le sujet de l'email ?
D'avance merci,
L
More
12 years 5 months ago #5489 by tompap
Replied by tompap on topic Référence annonce dans email
Bonjour,

Il faut faire un override de la vue views/message/tmpl/default.php
Documentation sur l'override:
joomprod.com/documentation/doc-view-override.html

<!-- title -->
<label for="title"><?php echo JText::_('ADSMANAGER_FORM_MESSAGE_TITLE'); ?></label>
<?php echo "<input class='adsmanager_required' id='title' type='text' name='title' maxlength='50' value=\"".JText::_('ADSMANAGER_EMAIL_TITLE').htmlspecialchars(@$this->content->ad_headline)."\" />"; ?>
<!-- title -->


Mettre par exemple:
<!-- title -->
<label for="title"><?php echo JText::_('ADSMANAGER_FORM_MESSAGE_TITLE'); ?></label>
<?php echo "<input class='adsmanager_required' id='title' type='text' name='title' maxlength='50' value=\"".JText::_('ADSMANAGER_EMAIL_TITLE').htmlspecialchars(@$this->content->id)."\" />"; ?>
<!-- title -->
More
12 years 5 months ago #5511 by leondelyon
Replied by leondelyon on topic Référence annonce dans email
Bonjour,
j'ai mis:
<!-- title -->
<label for="title"><?php echo JText::_('ADSMANAGER_FORM_MESSAGE_TITLE'); ?></label>
<?php echo "<input class='adsmanager_required' id='title' type='text' name='title' maxlength='50' value=\"".JText::_('ADSMANAGER_EMAIL_TITLE').htmlspecialchars(@$this->content->ad_reference)."\" />"; ?>
<!-- title -->
Malheureusement, rien de changé, le sujet de l'email est toujours vide.
Cdlt,
L
More
12 years 5 months ago #5541 by tompap
Replied by tompap on topic Référence annonce dans email
Dans l'affichage du formulaire (est-ce que c'est correct ?)
C'est juste dans le mail recu ? dans ce cas regarder dans la fonction sendmessage du controller.php
More
12 years 5 months ago #5546 by leondelyon
Replied by leondelyon on topic Référence annonce dans email
le sujet reste vide dans l'affichage du mail avant l'envoi
More
12 years 5 months ago #5567 by tompap
Replied by tompap on topic Référence annonce dans email
Je n'ai pas trop compris votre réponse.

Affichage du mail avant l'envoi ?
Vous voulez dire le formulaire de saisie (l'input text field est vide) ?
Ou dans le mail ?

Dans le controller.php vers la ligne 741
$subject = JRequest::getVar('title', "" );
si vous faites juste après

echo $subject;exit(); ? vous ne voyez pas de titre ?
Time to create page: 0.058 seconds
Powered by Kunena Forum