CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Installing CKFinder
Pages: [1]

Author Topic: Installing CKFinder  (Read 1888 times)

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Installing CKFinder
August 05, 2011, 12:26:46 pm
I am running Drupal 6.22 and CiviCRM 3.3.6 and was trying to simplify adding and browsing for images when building emails in CiviMail. I came across CKFinder wanted to give it a try. If it works I will certainly pay the $70 as it would be will worth it. I am not sure how to install it though. It's my understanding that CiviCRM and Drupal use different instances of CKEditor so I am at a lose as to what to do with the tar.gz file that I downloaded.

Any advise would be appreciated.

Thanks

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Re: Installing CKFinder
August 05, 2011, 01:08:49 pm
I tried using the following instructions:
http://wiki.civicrm.org/confluence/display/CRMDOC32/Adding+CKFinder+with+Authentication+to+CiviCRM
But where it said
Quote
Find the function toHTML(). Find the line that contains CKEDITOR.replace( '{$name}' ); It is line 72 in the current version. Edit this line, adding new lines following. Be sure to add the comma after '{$name}' as this is logically all one line to javascript:
Code: [Select]
CKEDITOR.replace( '{$name}',
  {
    filebrowserBrowseUrl : '/sites/all/civicrm_overrides/ckfinder/ckfinder.html',
    filebrowserImageBrowseUrl : '/sites/all/civicrm_overrides/ckfinder/ckfinder.html?type=Images',
    filebrowserImageUploadUrl : '/sites/all/civicrm_overrides/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images'
  });
I did not have a line that read
Code: [Select]
CKEDITOR.replace( '{$name}',but I did have one that read
Code: [Select]
CKEDITOR.replace( '{$elementId}' ),So I'm not sure what to do in this situation.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Installing CKFinder
August 06, 2011, 06:35:08 am
There is an opensource alternative for CKFinder, check this issue: http://issues.civicrm.org/jira/browse/CRM-8433

Kurund
Found this reply helpful? Support CiviCRM

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Re: Installing CKFinder
August 09, 2011, 10:42:44 am
I appreciate the response. I looked at KCFinder but things looked like they got pretty complicated with the setup. I would, at this point, be more comfortable using CKFinder if I only knew where to install it. My previously referenced instructions are outdated; are you aware of anything more current?

Thanks.

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Re: Installing CKFinder
August 10, 2011, 08:08:07 am
This, http://wiki.civicrm.org/confluence/display/CRMDOC40/Adding+CKFinder+with+Authentication+to+CiviCRM, is what I was looking for. Seems to work well but I'm having issues with the permissions.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Installing CKFinder

This forum was archived on 2017-11-26.