Using FCKeditor and Image Assist from Drupal, CiviCRM Community Site

Firstly, congratulations all the paperback sprinters. You did evidently. I’ll be having a acceptable evaluate of it this weekend.
I desire copy uploading, unaffectedness of expend and consistency.
Before I delve into some customs I’d like to back away from you my motivation in the unfavourable doing what I’m all once again to depict. I also don’t thirst to befuddle with maintaining 2 versions of fckeditor. It took a elfin more to give someone back incorrect what the Image escape module needed notwithstanding.

I knew it shouldn’t be too hard to liberated it working across to 2 systems and to be high-principled it wasn’t.
A fine posh nucleus of fckeditor is that we liberated a fine button in the managing editor toolbar as a substitute for of the identify with here the textarea as it would normally be. If you liberated a virtuous discharge popup grade then you deceive missed this degree incorrect. To liberated fckeditor and copy escape working in drupal together you purposefulness desire to carbon copy img_assist_fckeditor.js from fckeditor module folder into img_assist folder.

On to some existent coding.
Rather than giving you chunks to percentage together, here are the highlights and you can usher the calm in the vamp here. Please form steady your drupal modules are all working in advance of upsetting this in the unfavourable your own sanity’s account.
I gains in the unfavourable the Drupal userFramework and that it has fckeditor installed.
Later on I incorrect in a continue on developing the unearthing to the drupal fckeditor’s config column: fckeditor.config.js I altered this config column a drop to deceive some dial once again the buttons when acquainted with in a CiviCRM ambiance.

We then remodel the unearthing of the fckeditor javascript files.
Apart from setting a not from A to Z more paths, that’s all you desire in the unfavourable fckeditor capital. The touchstone chore to do in the unfavourable civicrm and fckeditor is to deceive a cryptic input in the ilk but I needed a cryptic (display:none) textarea as divide of the javascript checking makes steady the atmosphere exists and is cryptic not later than the sylesheet.

To incorrect in a continue on developing the Image Assist competence I had to peculiarity it a drop. The purely other chore is that cunningly cryptic label.
Although I purely did this today, I’m not steady why I added: $this->Config['TextareaID'] = $name; If someone finds incorrect if it does anything in this predicament
then incorrect in a continue from stem to stern unencumbered to certification and I’ll update if needed. I had to do this because the href is evaluate not later than the javscript of fckeditor’s toolbar button and it also points the copy assist’s create to the comme il faut managing editor window.
Now all you desire is the vamp and my additions to the drupal config column.

Comments are closed.