CKEditor with Image Upload v1.2

Release Notes

This is updated version of this plugin.

Just copy in the Mod and use it !!! Please let me know if any feedback..

I am happy to update or modify this plugin

Note :-  Just copy in the Mod and use it !!!  below steps does not required

Please see plugin start .PHP and find below URL please use the URL as per your server and give the path of your Dev environment

// Dev URL

//Production URL

I would Like to thanks @Matt Beckett  and @Paweł Sroka (vazco) who provided me the starting point to implement this plugin.

  • Works after few corrections in start.php

    1. Wrong level access - I just manualy type "2" as my blogs are always public. But plugin set it to -1 (always)

    2. Change line 19 to: $file->owner_guid = elgg_get_logged_in_user_guid();

    so now owner_id is corect.

     

    And of course lots of changes in css ;)

    3. Line 7 to: elgg_extend_view('page/elements/head','CKEditor/js/javascript');

    as I'm using 1.85 and it was causing error

     

  • I can't get settings page to work under 1.85. I moved admin.php to correct place I change links in start.php I corrected all deprecated code and I get blank page. Any ideas?

  • This plugin is not working for me. I'm not much of a programmer so changing code is not for me. When I use the plugin in Elgg 1.8.16 the image is not displaying after uploading in the "Image properties". I only can see about 2 mm field of where the image should show. In that field I can see (very hard) that the permissions are not right. What should I do to change this?

    When I try to just klick OK to put the image in my blog or whatever that uses text, I get the error "Image source URL is missing". I have been reading and searching the internet en forums but cannot find any solution. Maybe the solution is on the forum already but I don't understand?? Please help me out!

  • Hey, do not forget to edit the start.php if you are getting the warning: Deprecated in 1.8: The metatags view has been deprecated. Extend page/elements/head instead Called from [#6] /[directory]/engine/lib/views.php:506.

    Replace the line:

    elgg_extend_view('metatags','CKEditor/js/javascript');

    to the elgg 1.8 new pattern:

    elgg_extend_view('page/elements/head','CKEditor/js/javascript');

    Hope that's useful :-)

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 5889
  • Recommendations: 17

Other Projects

View saurabh's plugins