In place of the user mailer, we provide with this template a simple web form to write to the author.
template
here are the two files for this new page:
ecrire_auteur.html
ecrire_auteur.php
install them into your SPIP folder.
Linking from other templates
Now, we have to direct the user to this page when he clicks on the author name. Put this new code in any boucle providing an id_article (like the ARTICLE boucle).
<BOUCLE_auteurs(AUTEURS) {id_article} {par nom}>
<li><A HREF="ecrire_auteur.php?id_article=#ID_ARTICLE">#NOM</a></li>
</BOUCLE_auteurs>





















