The Joomla! Forum ™



Forum rules


Règles du forum



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Feb 17, 2012 1:07 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Feb 17, 2012 12:58 pm
Posts: 1
Salut à tous.

Je voudrai pouvoir insérer un préfixe <p> et un suffixe </p> sur un champ texte de formulaire avec l'éditeur non WYSIWYG en frontend. Le but étant que les visiteurs qui soumettent un article n'ont pas le choix de la mise en page, et moi, je veut afficher leur soumission dans un paragraphe.

Je pense que ça se passe sur cette ligne dans com_content/view/form/tmpl/edit.php

Code:
<?php echo $this->form->getInput('articletext'); ?>


Il me faudrait ajouter un préfixe et un suffixe à "articletext" mais je n'y arrive pas, sûrement un problème de syntaxe.

Si une âme charitable peut m'éclairer....
Merci d'avance

Luc

PS: je suis sur J2.5.1


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group