Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Do you have any plan to port this module for drupal7? if yes than can you plz let me know, how much it will take or if you can guide me how to upgrade this module i ll be grateful to you. i have chane values in .info file but it says there CONTENT_HANDLE_MODULE not found.
Comment | File | Size | Author |
---|---|---|---|
#42 | patch_commit_cf33f210b7b0.patch | 1.53 KB | Lukas von Blarer |
#43 | patch_commit_ecc897886fda.patch | 3.11 KB | Lukas von Blarer |
#30 | jeditable-7.x-1.x-dev-murz26.tar_.gz | 30.76 KB | Murz |
#30 | jeditable-issue-1068702-26.patch | 13.47 KB | Murz |
#28 | jeditable-issue-1068702-25.patch | 12.8 KB | Murz |
Comments
Comment #1
Dave.Ingram CreditAttribution: Dave.Ingram commentedI am formulating plans still for a D7 version of this module. There are a lot of changes in how Drupal does fields which give some great opportunity to this module, but a lot of the things need to be rethought.
Comment #2
davycw CreditAttribution: davycw commentedsubscribe
Comment #3
zatarain21 CreditAttribution: zatarain21 commentedsubscribe
Comment #4
jason.fisher CreditAttribution: jason.fisher commentedsubscribe
Comment #5
ay13 CreditAttribution: ay13 commentedsubscribe
Comment #6
vabue CreditAttribution: vabue commentedsubscribe
Comment #7
ay13 CreditAttribution: ay13 commentedsubscribe
Comment #8
chrisroditis CreditAttribution: chrisroditis commentedsubscribe
Comment #9
nhytros CreditAttribution: nhytros commentedsubscribe
Comment #10
pixelsweatshop CreditAttribution: pixelsweatshop commentedsub
Comment #11
freshaspect CreditAttribution: freshaspect commentedI needed to use this module for a prototype D7 project that we're doing. Did a quick and dirty D7 upgrade which seems to work fine for text fields (not tested the others so far).
Main things were adding new hook_field_formatter_view():
Adjusting the theme functions along these lines:
drupal_jeditable.js also had to be wrapped in the standard way to play nice with D7
content_fields() calls need to be cut over to use field_info_field() as well
If all goes well with prototyping will aim to contribute rather more solid code.
Paul
Comment #12
chrisroditis CreditAttribution: chrisroditis commented@freshaspect that'd be great!
Comment #13
JohnnyX CreditAttribution: JohnnyX commentedSubscribe
Comment #14
tomlurge CreditAttribution: tomlurge commented@freshaspect That would be really great! :-)
Alternatively, or in the meantime, if someone could make the above instructions more fool proof it would be very much appreciated as well!
Comment #15
Anonymous (not verified) CreditAttribution: Anonymous commentedsubscribe
Comment #16
thechanceg CreditAttribution: thechanceg commentedsubscribe
Comment #17
iaminawe CreditAttribution: iaminawe commentedSubscribe
Comment #18
Murzsubscribe
Comment #19
eriknewby CreditAttribution: eriknewby commented++ We will be adding this to a larger project, so I'll hopefully be able to contribute our implementation in the near future as well.
Comment #20
khanz CreditAttribution: khanz commentedsubscribe
Comment #21
duellj CreditAttribution: duellj commentedHere's a *very* basic patch that provides a D7 version (based on freshaspect's work from #11). I've only tested text fields and text areas integration, more work needs to be done to make sure references, date, and workflow integration works.
Comment #22
Murzduellj, thanks! With your patch all works for me normally on Drupal 7.x - within node and within views too!
Comment #23
MurzI have found the issue with last patch. When I try to change integer field, I see only one letter from changed value.
Seems that the problem in this string:
$node->{$field_name}[$node->language][0] = $value;
$value is not an array, but field item is array('value'), so for correct changing we must change the 'value' array item:
$node->{$field_name}[$node->language][0]['value'] = $value;
After this change patched module works for me normally.
Comment #24
MurzSeems that problem is not in this place, jeditable must detect those fields as cck and save in "cck" switch part. But it detect them as node embedded field like title, date, etc. Because in D7 cck have moved to core fields, detection of cck fields can be broken and must changed. I'll try to fix this problem.
Comment #25
MurzHere is my patch that fixes described problems.
Also I add support for deltas, so now jeditable supports multiple values in one field, also starting with offset > 0.
Comment #26
MurzAlso I have fixed a problem with empty fields (before if field empty, user can't edit it). Here is updated version.
Comment #27
MurzFixed space in span id.
Comment #28
MurzAlso fixed problem with non-translatable fields
Comment #29
bennos CreditAttribution: bennos commentedsubscribing
Comment #30
MurzSome fixes:
- Corrected menu items: moved to settings, ajax items changed to MENU_CALLBACK
- Add default placeholder for empty fields (for ability to edit empty fields), but at now can't got working show in node view, works only in views table cells.
Comment #31
MurzBennos, you change issue status to Need work - did you find some issues in this patch? If yes, please describe them here, I'll try to fix them.
Comment #32
MurzI have created the sandbox with my updates of this module: http://drupal.org/sandbox/murz/1291492
So other updates and fixes I will do in my sandbox.
Comment #33
bennos CreditAttribution: bennos commentedthe issue state change was a mistake. sorry for confusion.
Comment #34
MurzComment #35
Lukas von BlarerI can't get it to work. Am I missing some setting?
Comment #36
MurzLukas von Blarer, please describe which version did you use and which problems you got?
Comment #37
Lukas von BlarerI just cloned your sandbox and installed the module. When I go to a node the javascript isn't loaded. Also no classes are being apllied. In the display setting there is no option for jEditable as it is described in the readme.
Comment #38
MurzI test now the sources from current git, and all works. Which type of fields did you try to use? Try this way:
1. Go to Manage Fields, create new Text textfield.
2 Go to Manage Display and in widget column you must see jEditable Textfield.
If it is absent, try to clear cache. If isn't help, try to go at page /admin/config/jeditable and tell me what did you see in it.
Also check permissions, jEditable have 'Use jEditable' special permission.
Comment #39
Lukas von BlarerOh, I am sorry. Is it currently only available for textfields? Could you point me in the right direction to make it available for more fields? Right now I would need it for the following:
User Reference
Term Reference
Postal address
Email
Phone Number
Basically all of them are text and dropdown fields. What do I have to do?
It doesn't work for users. I get the following Warnings:
Notice: Undefined index: views_field in jeditable_field_formatter_view() (line 106 of /Users/lukasvonblarer/Sites/adresses/sites/all/modules/jeditable/jeditable.module).
Notice: Trying to get property of non-object in jeditable_field_formatter_view() (line 106 of /Users/lukasvonblarer/Sites/adresses/sites/all/modules/jeditable/jeditable.module).
Notice: Undefined variable: id in theme_jeditable_formatter_jeditable_textfield() (line 183 of /Users/lukasvonblarer/Sites/adresses/sites/all/modules/jeditable/jeditable.module).
Comment #40
MurzIt works only for textfields at now, I try to add checkboxes and selectlist, but at now this is not ready.
So, current version works only for those fields:
'text', 'number_integer', 'number_decimal', 'number_float', 'list_boolean'
Comment #41
MurzIn lastest 2 commits of my sandbox http://drupal.org/sandbox/murz/1291492I have added basic editing status (published), sticky and promote (on frontpage) values of node. At now they are displaying as integer and edited as 0-1 values, in future versions I'll try convert this to checkbox.
For use them you must find in field with name "status - jeditable", etc.
Comment #42
Lukas von BlarerAdded support for address field, phone and email fields. Email Field support does not work yet. I created a issue for this: #1315746: Why does this module use the index 'email' and not 'value'?
Comment #43
Lukas von BlarerFixed the placeholder setting and added a setting for the event trigger
Comment #44
raincloud CreditAttribution: raincloud commentedsubscribe
Comment #45
GiorgosKgot project from Murz's sandbox and everything seems to load properly with integer field
clicking on field presents edit form, clicking save seems to try to post change
but the change is not saved
maybe incompatibility with some other module
Comment #46
MurzGiorgosK, which type of fields did you try to update? Did you press "Save" button via mouse or only Enter key in keyboard?
Comment #47
MurzI have committed all changes from my sandbox to project, so now you can download 7.x-1.x version.
It is not fully tested and may contain bugs, so not ready for production. Please test it and report bugs.
Comment #48
MurzComment #49
mojiro CreditAttribution: mojiro commented1) It still has some 'krumo' and other debugging commands inside.
2) It does not support Entity Reference. I added it (and partially works), but I cannot bring the node-edit-form widget, which is autocomplete.
Comment #50
mojiro CreditAttribution: mojiro commentedAlso there is a "broken" patch... that has only
I think that should write "Returns the id format" or something like that