Hi,
does anyone know how to integrate the FCK Editor in template-based Systems like vBulletin?
When I write:
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = './editor/' ;
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
$oFCKeditor->Create() ;
the Editor is displayed on the top of the page - not at the position in the code. i think it is because of the templates - the fck editor was generated before the vbulletin-template was generated
do anyone know a sollution?
thanks
Mon, 01/26/2009 - 16:51
#1
Re: FCKeditor in vBulletin or other template based CMS
change create function in fckeditor_php5/4.php
insert to template var
$content .= $oFCKeditor->Create();