Back to CKeditor Support

nevens.marc2773
nevens.marc2773

Hello, I'm new to use Octobercms. Could you provide me a more detailed installation instruction of this plugin. How to download via the plugin installer, or where to place it in which directory, and what to modify. Could you help me please. Regards,

Marc

Anand Patel
Anand Patel

hey if you need to install any plugin simple way is to type author name and plugin name in following syntax in backend system > updates > install plugin

author.plugin 

for CKEditor its

shahiemseymor.ckeditor

after installing this you need to change fields.yaml and past ShahiemSeymor\Ckeditor\FormWidgets\Wysiwyg in type.

Last updated

nevens.marc2773
nevens.marc2773

Hello, thank you for your quick reply. I installed the plugin like you mentioned above. I had following errormessage:

**Update failure**
"There is no column with name 'progress' on table 'shahiemseymor_todo'." on line 85 of C:\wamp\www\october\vendor\doctrine\dbal\lib\Doctrine\DBAL\Schema\SchemaException.php

Where can I find the file fields.yaml? Is this in

dir: root/plugins/shahiemseymor/ckeditor/models/settings/fields.yaml ?

If so, if have following code in fields.yaml:

fields:
  up_public:
    label: Public key (Uploadcare)
    type: text
    comment: With Uploadcare users can upload photos directly from Facebook or Instagram and documents from Dropbox and Google Drive.
  show_cms_content_as_wysiwyg:
    label: Use CKEditor for CMS / RainLab Blog - Content?
    type: checkbox
    comment: If checked, CMS - Content & RainLab Blog Content entries will use the CKEditor.
    default: false

What do I have to change or replace?

Snirkum
Snirkum

you can find them for several page items.

modules/cms/classes/partial modules/cms/classes/content modules/cms/classes/layout modules/cms/classes/page

Anand Patel
Anand Patel

where you want to place ckeditor ?

nevens.marc2773
nevens.marc2773

Hello, I want to put it in Page and Blog

Shahiem
Shahiem

It's already for Pages (In the content section). And in the next version for the Blog. :) You can enable it on the ckeditor settings page. Or you can change the fields.yaml file.

Vojta Svoboda
Vojta Svoboda

This detail installation instructions should be at 'Documentation' tab in plugin detail. Because at first I tried insert TreeFiction.CkEditor as name of plugin :-(

Last updated

giorgio5284
giorgio5284

Hello,

I successfully installed CkEditor, but all the time I save a page edited with CkEditor and I reload the website, I get the following exception:

Unexpected character "&" /october/themes/demo/pages/home.htm line 9

any idea?

thanks

Vojta Svoboda
Vojta Svoboda

@giorgio5284 Can you paste here content of home.htm file? It's better for figuring out what's wrong ;-)

giorgio5284
giorgio5284

Well I've just used the default octobercms demo template without changing anything in the code.

Vojta Svoboda
giorgio5284
giorgio5284

I know and I don't understand why..what I did is to slightly modify page content and I got that exception. I also tried the other wysiwyg plugin for octobercms and ckeditor gives me the same issue but not tinyEditor which works fine..any idea ?

giorgio5284
giorgio5284

I've found out that the exception happens due to code in the page as the following:

{% filter escape %}{% content "placeholder/page.txt" %}{% endfilter %}

I get the same exception as before:

Unexpected character "&"

and below I can see:

{% filter escape %}{% content "placeholder/page.txt" %}{% endfilter %}

it seems that double quote " " are translated as & quot;

Any suggestion? anyone with the same error?

Last updated

giorgio5284
giorgio5284

Guys any idea?

Shapeless
Shapeless

where is the ckeditor settings page?

masterdevijay10516
masterdevijay10516

Whenever i'm loading my page initially after saving the changes its shows an error message as 'Unexpected character "&"'. Also i have used partials in my layout page.

Can anyone guide me to solve this issue?

Last updated

Vojta Svoboda
Vojta Svoboda

What is inside placeholder/page.txt?

masterdevijay10516
masterdevijay10516

{% put head %}

<script src="js/script.js"></script>

{% endput %} The above code was inside placeholder/page.txt

masterdevijay10516
masterdevijay10516

I have added two css using code(injected page assets programmatically) in a page for UI perspective but after saving the page it shows an error while previewing. Importantly I have used CKEditor for UI design in CMS pages. Added One : function onStart() { $this->addCss('assets/css/custom.css'); $this->addCss('assets/css/theme.css'); }

After Saving (Automatically including HTML entities here) : <?php

function onStart() { $this->addCss('assets/css/custom.css'); $this->addCss('assets/css/theme.css'); }

?>

Please help me to solve this.

Last updated

1-20 of 23