Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 11:15:47 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155538 Posts in 21715 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: 1 ... 5 6 [7] 8   Go Down
Print
Author Topic: CKEditor for websitebaker  (Read 23103 times)
mikejd

Offline Offline

Posts: 160


« Reply #150 on: August 09, 2011, 10:25:05 AM »

I have installed CKEditor to my site and it reports install successful. When I try to activate it then open a page for editing the page doesn't load. It starts to load the editing textbox then stops at the editor toolbar and the rest of the page is blank.

I am using v2.8.1 and am using CKEditor elsewhere on another site.

Any suggestions?

Mike
Logged
assembler_68lc040

Offline Offline

Posts: 28


« Reply #151 on: August 09, 2011, 10:31:42 AM »

elsewhere is'nt mutch precise as none can say something about the version you ve got. Can you please take a look in the backend for "modules details" or take a look inside the "info.php" in the module-directory?

Thanks
Logged

if (err = pAppInfo->GetInfo(kMoaAppInfo_WB_Sour ce, kUnderstand_minimum _of_lines, 32))
   goto exit_gracefully;
mikejd

Offline Offline

Posts: 160


« Reply #152 on: August 09, 2011, 10:41:53 AM »

Both sites have WB v2.8.1 installed and CKEditor 0.5.5.0_RC1_aldus

Mike
Logged
maverik

Offline Offline

Posts: 1568



WWW
« Reply #153 on: August 09, 2011, 10:49:04 AM »

Quote
CKEditor 0.5.5.0_RC1_aldus
    shocked

http://www.websitebaker2.org/forum/index.php/topic,17981.msg145332.html#msg145332

Quote
WB v2.8.1

http://www.websitebaker2.org/forum/index.php/topic,21997.0.html
Logged

Signatur wird geladen...
mikejd

Offline Offline

Posts: 160


« Reply #154 on: August 09, 2011, 11:38:29 AM »

I have sorted my problem - the site was running php4 so i changed to php5.

Mike
Logged
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #155 on: August 29, 2011, 11:48:20 AM »

Hi,

I am trying to adapt width and height parameters as I have multiple CKEeditors on one page but design breaks.. (the buttons and textarea jumps out of container..)

the call is show ckeditor_editor("long","long","","500px","300px");

did anyone encountered this issue ?

cheers
Ivan
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
assembler_68lc040

Offline Offline

Posts: 28


« Reply #156 on: August 29, 2011, 01:47:20 PM »

Sorry - but as for me it is not realy clear what you mean:
does the modul itself ignore the params or are the params the prroblem.
Have you installed the wysiwyg-admin - if so, the width and height will be ignored.
One workaround could be to add an additional param e.g. $force to force the editor-instance to use the width and height params instead of using the settings of the wysiwyg-editor.

hih
A

Edit
Something like:
Code:
<?php
/**
 * Function called by parent, default by the wysiwyg-module
 *
 * @param string The name of the textarea to watch
 * @param mixed The "id" - some other modules handel this param differ
 * @param string Optional the width, default "100%" of given space.
 * @param string Optional the height of the editor - default is '250px'
 * @param bool Optional boolean to force the instance to use the width and height settings
 *
 */
function show_wysiwyg_editor($name$id$content$width '100%'$height '250px'$force false) {
global $ckeditor;

if ( (false === $ckeditor->wysiwyg_admin_exists) || ( true === $force) )  {
$ckeditor->config['height'] = $height;
$ckeditor->config['width'] = $width;
}

$ckeditor->reverse_htmlentities($content);

echo $ckeditor->to_HTML$name$content );
}
?>

inside the include.php of the ckeditor-module shoulld work.
« Last Edit: August 29, 2011, 01:57:06 PM by assembler_68lc040 » Logged

if (err = pAppInfo->GetInfo(kMoaAppInfo_WB_Sour ce, kUnderstand_minimum _of_lines, 32))
   goto exit_gracefully;
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #157 on: August 29, 2011, 02:43:20 PM »

Hi,

take a look at the picture. The call I have is show_ckeditor_edito r("long","long","","500px","300px");

Editor should he in blue rectangle at picture, the background is blue, it is ok, but buttos are out of container..

Did anyone try to include CKE to some module ?

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
assembler_68lc040

Offline Offline

Posts: 28


« Reply #158 on: August 29, 2011, 03:04:46 PM »

Could be a couple of reasons
- the textarea for the editor is to width - so the browser placed it next to it.
- the textarea on the left go a "display:block; float: left" - the right one not
- Does it work within another one? (FCK? EditArea?)
- What Version of the ck-Editor you are using?
- Hm ... you could also try to use "100%" for the width instead of fixed 500px ...

As for the function call within a new parameter we discuss this here and came to the result that ic could be better to add a new class var instead and modify the condition inside the called function., so you can switch this "on" or "off".
After including the include.php into your interface, you can do thinks likef, e.g.:
Code:
<?php
/**
 * Force the instance to use ower own width and height
 *
 */
$ckeditor->force true;

/**
 * Force to use another Toolbar. The name of the toolbar is deifined inside the wb_config.php
 *
 */
$ckeditor->config['toolbar'] = 'Full';

/**
 * "Calling" the basic function
 *
 */
show_wysiwyg_editor("long","long",htmlspecialchars($fetch_content['content_long']),"100%","550px"true);

/**
 * Telling the instance to use the width and height settings from the wysiwyg admin again.
 *
 */
$ckeditor->force false;
?>

New Version of ckeditor is placed on AMASP and github.

If it all not works - i think it could be a good idea to place an attachment here or for download somewhere so someone can take a look at it ...

Regards
Alexandra
Logged

if (err = pAppInfo->GetInfo(kMoaAppInfo_WB_Sour ce, kUnderstand_minimum _of_lines, 32))
   goto exit_gracefully;
Yetiie

Offline Offline

Posts: 254


« Reply #159 on: September 10, 2011, 07:44:30 AM »

A new Version for the CKEditor (WSB-Modul-Version V0.6.5 with CKEditor-Version V.3.61 in it) has been uploaded in the german thread. Help in testing is welcome:

http://www.websitebaker2.org/forum/index.php/topic,17981.msg150633.html#msg150633
Logged
Bug

Offline Offline

Posts: 188


« Reply #160 on: November 03, 2011, 07:04:07 AM »

On the ck forum you can find a plugin for googlemaps and one which gives the possibility to create and place a qr code, both supereasy to add to the editorrrr
Logged
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #161 on: March 04, 2012, 06:34:33 AM »

dont know why, does not seam to work on my v.2.8.3
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #162 on: March 06, 2012, 12:01:10 PM »

You can be going to registered as Beta tester for Core and CKeditor. Googlemaps not working without issues. Qr-Code Plugin you can only set a url.

Dietmar
Logged

We are human beings - and nobody is perfect at all.
weiry

Offline Offline

Posts: 92


« Reply #163 on: March 09, 2012, 03:09:45 AM »

Hi,

I have an installation of WB 2.8.3 which I have upgraded from previous versions (from memory it might have been 2.7), but it appears as though there are some fields in the background that are not properly configured. You can see from the attached screen shot that there are numerous fields within the Image Properties area that say "undefined". Whilst I know what the fields are meant to be, the client doesn't. Is there something I can do to fix within the backend?

I have tried uninstalling and reinstalling but the problem persists. If I change back to another editor, the fields are correctly displayed.
Logged
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #164 on: March 15, 2012, 11:33:33 PM »

Now we published the ckeditor for WebsiteBaker 2.8.3. You can downlaod here

This module integrates CKEditor (version 3.3.2) into WebsiteBaker. It contains: A filebrowser, WBDroplet and WBLink module. Once installed go to the WB backend and activate the editor via: Settings -> Show Advanced Options -> WYSIWYG Editor. Note: requires Javascript enabled, the supported browsers are listed on the CKEditor website.

Dietmar

will be continued....
Logged

We are human beings - and nobody is perfect at all.
Redfish

Offline Offline

Posts: 6


« Reply #165 on: March 16, 2012, 07:33:42 AM »

Hi,


the new version has a big bug. I've installed them on a new installation of Websitebaker but every formatted text will not be displayed correct because the output looks like this (as sourcecode in the editor):
Code:
<span style="\&quot;font-size:16px;\&quot;">

The output on the front looks like this:
Code:
<span style="\"font-size:16px;\"">

I think something with the thick marks going wrong.

Can you fix that or help me?
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #166 on: March 16, 2012, 07:46:37 AM »

Hi,

this is not a bug of the CKE, this is a problem with gpc_magic_quotes. You find the solution here.

hth
_florian.
Logged
Redfish

Offline Offline

Posts: 6


« Reply #167 on: March 16, 2012, 08:31:33 AM »

Wow, thanks for the fast response.

I've another problem too: befor the text comes, the ckeditor makes a linebreak after the html-tag.

Here an example:
Code:
<h1>
Titel of Death</h1>

How can I disable this linebreak? I've problem to manipulate the text with jquery because the linebreak will be rendered on the front.
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #168 on: March 16, 2012, 08:51:22 AM »

you need version 0.7.5 of ckeditor.
in prev versions was a rule for h-tag to find in wb_ckconfig.js (writer.setRules( 'h', ... )
« Last Edit: March 16, 2012, 08:57:04 AM by dbs » Logged

Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #169 on: March 18, 2012, 01:13:50 AM »

I published a new CKeditor Version 0.7.6, Fixed a bug in language changes.

Dietmar
Logged

We are human beings - and nobody is perfect at all.
dana

Offline Offline

Posts: 4


« Reply #170 on: May 17, 2012, 04:51:46 PM »

I have installed the new 0.76 CKEditor on my 2.8.3 (revision 1638) and now instead of a WYSIWYG editor I get blank space, I can't edit anything. FCKEditor is working just fine, so I don't know where the problem could be.
Logged
okki

Offline Offline

Posts: 4


« Reply #171 on: May 17, 2012, 10:08:47 PM »

I have this same issue and the problem is WB user language setting. It only works with English or German language.
Logged
dana

Offline Offline

Posts: 4


« Reply #172 on: May 18, 2012, 10:04:16 AM »

Your reply got me thinking and I figured it out. Smiley It's not displaying because there are no language files for the following ckeditor plugins, which I guess are specific for WB:

aboutwb
lightbox
relation
wblink
internpage
wbdroplets
image
shybutton
gmap
qrcodes
syntaxhighlight

What I did was go to these folders (found under ckeditor/plugins and copied english language file (in the lang folder), renamed it to my preffered language and edited the contents of the files, where it said 'en'.

And it works! Smiley
Logged
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #173 on: May 18, 2012, 08:30:39 PM »

Hi,

i will be going to solve the issue

Dietmar
Logged

We are human beings - and nobody is perfect at all.
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #174 on: May 19, 2012, 04:14:12 AM »

Quote
I have installed the new 0.76 CKEditor on my 2.8.3 (revision 1638) and now instead of a WYSIWYG editor I get blank space,

I try to reproduce this issue. but i couldn't. Normally if user language will not be found, the plugins should run in a fallback to english.

Already existing translated language files  i will be going to put them in the next module version

Dietmar
Logged

We are human beings - and nobody is perfect at all.
Pages: 1 ... 5 6 [7] 8   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!