Xinha causes "continue reading" message.

Found a bug? Tell us!!
Post Reply
Wiebel

Xinha causes "continue reading" message.

Post by Wiebel »

Hi,

I installed the xinha wysiwyg editor, it works great but when I add new post,
I'm always getting "continue reading" at the end of the post even with only one word in the post.

This what xinha creates:
<html><head><link href="plugins/serendipity_event_xinha/xinha-nightly/plugins/Abbreviation/abbreviation.css" rel="stylesheet" id="Abbr-style" /><link href="plugins/serendipity_event_xinha/xinha-nightly/plugins/InsertAnchor/insert-anchor.css" rel="stylesheet" id="IA-style" /></head><body>test</body></html>

Hope anyone can help me with this.

Cheers,
Joris
Guest

Re: Xinha causes "continue reading" message.

Post by Guest »

Wiebel wrote: This what xinha creates:
<html><head><link href="plugins/serendipity_event_xinha/xinha-nightly/plugins/Abbreviation/abbreviation.css" rel="stylesheet" id="Abbr-style" /><link href="plugins/serendipity_event_xinha/xinha-nightly/plugins/InsertAnchor/insert-anchor.css" rel="stylesheet" id="IA-style" /></head><body>test</body></html>
The same data is posted in the "extended" field.
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

I'm such an idiot to include Fullpage plugin for Xinha :x

Just open up serendipity_event_xinha.php and look for Xinha_plugins and delete "Fullpage".

that fullpage plugin is required to edit a fullpage including head and body. it is adding head tag inside ur extended editor hence u see the continue reading link. we do not want that feature. we only want it to edit body tag
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I just removed it in CVS as well. Thanks! :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

MySchizoBuddy wrote:I'm such an idiot to include Fullpage plugin for Xinha :x
You're not an idiot, you're a great help :)
It works perfect now.
I have something for you to, I got the image manager working.

I changed config.inc.php:
$IMConfig['images_url'] = str_replace( "backend.php", "", $_SERVER["PHP_SELF"] ) . "../../../../../uploads/";

commented to following:
/*
if($_REQUEST['backend_config_hash'] !== sha1($_REQUEST['backend_config'] . $secret))
{
die("Backend security error.");
}

$to_merge = unserialize($_REQUEST['backend_config']);
if(!is_array($to_merge))
{
die("Backend config syntax error.");
}
*/

and now it seems to work :)
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

Actually, ImageBrowser works fine.
Its only if u want the upload functionality that all that extra code is required, which inturn totally breaks Image Browser. U do not even need that php code that is in it. all that extra stuff is to allow uploading, which Manage Images button does beautifully.
:)
Image
Wiebel

Post by Wiebel »

Ok,

Can i remove the icon for the image manager then, and if so, how? :)

yet another question: how can i use Imanager, I saw the option in the plugin config.

Cheers,
Joris
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

download iManager from http://www.j-cons.com/news/index.php?id=0
read its installation instruction in the included readme file.

under xinha_plugins delete ImageManager
and the icon will be gone
Image
Post Reply