Register  It's Free! Thursday,   September  9,   2010
User Name Password
  Downloads   Modules

Login
Username:

Password:

Remember me



Lost Password?

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

Members: 0
Guests: 9

more...
Please Read This
All my modules require users to be registered to add listings or to reply to a listing.
There are parts that NEED a user ID. to work properly.

All reputable websites DO NOT allow anonymous users to add anything, even on the
Xoops site you need to be registered, there are many reasons for this.

You may be able to hack the module to work with non registered users, it will probably not be easy, and I do not support this. I'm sorry but thats the way it is.

Browsing this Thread:   1 Anonymous Users





ckeditor blank lines by save
Not too shy to talk
Joined:
3/23 8:20
Posts: 35
Offline
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

Open in new window















false.jpg


Open in new window

You can help me ??

Posted on: 7/1 8:45
Transfer the post to other applications Transfer


Re: ckeditor blank lines by save
Webmaster
Joined:
2004/10/6 16:13
Posts: 927
Offline
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 the post to other applications Transfer


Re: ckeditor blank lines by save
Not too shy to talk
Joined:
3/23 8:20
Posts: 35
Offline
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 the post to other applications 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.

[Advanced Search]


Donat-O-Meter
Make donations with PayPal!

Donations
Waiting Contents Ext
System Downloads Forum Alumni Job Listings Garages classifieds
Weather
Southington
Conditions as of
4 minutes ago


partly cloudy
Temp: 63 °F ↑
Rel hum: 68 % ↓
Wind increasing
NW at 5.8 mph
view forecast
jlmzone © 2010
Powered by XOOPS 2.4.4