Browsing this Thread:   1 Anonymous Users






Re: ckeditor blank lines by save
#3
Quite a regular
Quite a regular


See User information
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: 2010/7/7 5:34
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: ckeditor blank lines by save
#2
Webmaster
Webmaster


See User information
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: 2010/7/4 19:31
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


ckeditor blank lines by save
#1
Quite a regular
Quite a regular


See User information
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

Resized Image















false.jpg


Resized Image

You can help me ??

Posted on: 2010/7/1 8:45
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top







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.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
 
Main Menu
 
Who's Online
8 user(s) are online (5 user(s) are browsing Forum)

Members: 0
Guests: 8

more...
 
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: $25.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $25.00