Forums

Forums


Discussions (en)

Forum for Discussions - Discussion Forums for Joomla! 1.5. Posts in english language.
Last post
Forums  » Discussions (en)  » Format Your text - WYSIWYG Editor
wreppy

wreppy
1 post
---
Location:
n.a.
09.04.2011 05:30

Format Your text - WYSIWYG Editor

Any chance there will be a WYSIWYG editor instead of letting people entering the formats and symbols.

Best / wreppy




 
acevedo

acevedo
2 posts
---
Location:
n.a.
18.05.2011 23:52

Re: Format Your text - WYSIWYG Editor

you can add the following code in default.php on posting view to replace the textarea default to TinyMCE editor for joomla:

echo "";
//echo "";
$htmlText = "";
if ( $this->task == "quote") {
$htmlText = "
" . $this->messageText . "
";
}
if ( $this->task == "edit") {
$htmlText = $this->messageText;
}
$editorWysiwyg =& JFactory::getEditor();
$parametros = array('mode' => 'extended', 'custom_plugin' => 'bbcode');
echo $editorWysiwyg->display('postText', $htmlText, '550', '400', '80', '20', true, $parametros);
//echo "";
echo "";




 
abeasse

abeasse
5 posts
---
Location:
n.a.
27.11.2011 23:25

Re: Format Your text - WYSIWYG Editor

How can I do this ? Is it work ?

Which line I put this code ? In the right file there are 755 lines.

Thank you for this great extension !
Ant.




 
Forums  » Discussions (en)  » Format Your text - WYSIWYG Editor

Codingfish operates

italobikes.com
Community for friends of italian motorcycles

fuldany.de
Das soziale Netzwerk für Fulda (im Aufbau)