Page 1 of 1
Xinha causes "continue reading" message.
Posted: Tue Aug 23, 2005 12:35 pm
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
Re: Xinha causes "continue reading" message.
Posted: Tue Aug 23, 2005 12:38 pm
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.
Posted: Tue Aug 23, 2005 2:02 pm
by MySchizoBuddy
I'm such an idiot to include Fullpage plugin for Xinha
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
Posted: Tue Aug 23, 2005 3:24 pm
by garvinhicking
I just removed it in CVS as well. Thanks!
Regards,
Garvin
Posted: Tue Aug 23, 2005 3:27 pm
by Guest
MySchizoBuddy wrote:I'm such an idiot to include Fullpage plugin for Xinha
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

Posted: Tue Aug 23, 2005 3:47 pm
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.

Posted: Tue Aug 23, 2005 4:37 pm
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
Posted: Wed Aug 24, 2005 1:15 am
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