Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 13. október 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Using ckeditor and phpmyedit

phpMyEdit Features     Using ckeditor and phpmyedit
Odoslať novú tému   Odpovedať na tému    
 
theloz     Založený: 13.09.2009   Príspevky: 1  
Príspevok Zaslal: 2009-09-13 23:53
Návrat hore  Odpovedať s citátom     

I've always prefered ckeditor against mcedit. I know it's am matter of choice, I don't want rise up a flame.
I found only a small problem to use it: textareas aren't dom-referred with an Id, just with the name. All I've done is adding
Kód:

if ($this->fdd[$k]['textarea']['id'] != "") {
    echo ' id="'.$this->fdd[$k]['textarea']['id'].'"';
}

at around 1046 and 1198 lines of phpMyEditclass.php file in order to make an id definition available.
Then I've gone like
Kód:

'textarea' => array(
    'rows' => 5,
    'id'   => 'text_news',
    'cols' => 50),

To set the id of the textarea. Doing so it's almost easy to refer it with any js library or self made script, including ckeditor.

I hope anybody finds it useful.

Thanks to all the team for the marvelous software they did. It saves me lot of "backoffice-building" annoying work.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov