Closed (fixed)
Project:
Manual Crop
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2013 at 15:11 UTC
Updated:
21 Aug 2013 at 14:29 UTC
Hi Matthijs,
I have a widget nearly (99%) the same as image widget, but manualcrop is not working because the widget name is different and is not possible to add mine to the Manual Crop supported widgets. It would be very helpful if there was a hook to add custom widgets for using manual crop.
Therefore I have created a patch with a manualcrop.api.php file and a drupal alter in manualcrop_supported_widgets.
Could you take a look at this? And is it possible to get this into Manual Crop?
I have attached 2 patches, one for 7.x-1.x-dev and one for 7.x-1.4.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| manualcrop-api-7.1-1.4.patch | 1017 bytes | ericclaeren | |
| manualcrop-api-7.1-1.x.patch | 1015 bytes | ericclaeren |
Comments
Comment #1
matthijsThanks for the patch, I've applied and committed it! Nice work!
Not that I've reworked your changes a bit to also have a none-alter hook, so now we have hook_manualcrop_supported_widgets() and hook_manualcrop_supported_widgets_alter().
Comment #3
ericclaeren commentedThanks Matthijs!