Browsing this Thread:
1 Anonymous Users
ckeditor blank lines by save |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
3/23 8:20 Posts:
35
![]() |
hi John,
i have a problem with the ckeditor. If I save a text, it automatically makes a blank line with a description. I edit the description and save it again, he again makes a blank line with a description. Why ?? This problem only occurs on the classifieds see screenshot (true.jpg and false.jpg) true.jpg ![]() false.jpg ![]() You can help me ??
Posted on: 7/1 8:45
|
|
Transfer
|
||
Re: ckeditor blank lines by save |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2004/10/6 16:13 Posts:
927
![]() |
host2,
I guess each editor wants to do things different, so for ckeditor try this. I tested this with ckeditor, koivi editor and dhtml editor. Go to viewad.php around line 149 find this line: $desctext = $myts->displayTarea($desctext,1,1,1); change it to: if ($xoopsModuleConfig["".$mydirname."_form_options"] == 'dhtmltextarea' || $xoopsModuleConfig["".$mydirname."_form_options"] == 'dhtml') { $desctext = $myts->undoHtmlSpecialChars($myts->displayTarea($desctext,0,0,1,1,1)); } elseif ($xoopsModuleConfig["".$mydirname."_form_options"] == 'ckeditor') { $desctext = $myts->displayTarea($desctext,1,0,0,1,0); } else { $desctext = $myts->displayTarea($desctext,1,0,0,1,1); } save and close viewad.php Then go to modify.php around lines 66 and 125 look for this line" $desctext = $myts->displayTarea($_POST["desctext"], 1,0,1,1,1); change them to this: $desctext = $myts->displayTarea($_POST["desctext"], 1,0,1,1,0); Let me know if that works for you. Thanks, John
Posted on: 7/4 19:31
|
|
Transfer
|
||
Re: ckeditor blank lines by save |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
3/23 8:20 Posts:
35
![]() |
it works fine, yery thank
you can update this bug in orginal files ![]() i have a other question, i would like a box with a Picture Scroller siehe Example: http://www.news-scroller.com/ for the new classiefieds, you can help me ? always show the 10 most recent will be displayed in the scroller when the mouse clicks on it then, should one occur in the display
Posted on: 7/7 5:34
|
|
Transfer
|
||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.






Transfer

