Jump to content

Recommended Posts

Posted

I'm new to Processwire and I was trying to add a plugin on CKeditor using the sample timestamp.

But I can't get the icon to display on the ckeditor. on the Body field

I'm using Processwire 3.0.30

already edited the \wire\modules\Inputfield\InputfieldCKEditor\ckeditor-4.5.10\config.js

pasted the timestamp folder inside:

  1. \wire\modules\Inputfield\InputfieldCKEditor\ckeditor-4.5.10\plugins\
  2. \wire\modules\Inputfield\InputfieldCKEditor\plugins\

followed the guide on Creating a CKEditor Plugin in 20 Lines of Code.

No dice refreshed and even logged off.

even tried to edit the InputfieldCKEditor.module to add my plugin still no go.

 

can anyone help me on this.

Posted

CKEditor plugins should be added to the site/CKEditor/ folder. It's strongly adviced to not modify anything inside the wire/ folder, because it's simply replaced on updates.

  • Like 1
Posted

@Galo, I think the step you are missing is adding the plugin button to the CKEditor toolbar. The toolbar buttons are set in the field settings, on the Input tab.

2016-09-09_205802.png

Edit: and you also need to activate the plugin for the field...

2016-09-09_210009.png

  • Like 2
Posted

Nice thanks Robin S,  got it to work. Now I hope I  can find a guide on doing popups for creditor pluings. Tried mine an it kinda hangs when I click my button modal diplays but blank. 

 Thanks Lostkobrakai,  will copy the ckeditor to the site  directory and try. 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...