Closed (fixed)
Project:
Entity Reference View Widget
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2012 at 23:14 UTC
Updated:
5 Jun 2012 at 14:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
roam2345 commentedFirst patch so far move to a template file that allows themers to quickly rearrange the output of the content.
Comment #2
roam2345 commentedRight there a tone of changes and fixes....
- moved to templates so its easy to theme this lot for themers.
- added option to allow web admin to hide the left column from views options_form.
- fixed the AJAX bug where request doesn't "know" anything about the function "node_form" because it doesn't include modules/node/node.pages.inc.
Comment #3
roam2345 commentedKeep missing the new files on my patches sorry.
Comment #4
roam2345 commentedRemove the AJAX callback when the left column is hidden.
Comment #5
roam2345 commentedanther small issue
Comment #6
roam2345 commentedand fix the css
Comment #7
rerooting commentedfor whatever reason, i can't get this patch to apply. no output whatsoever with git apply -v. anything i might be doing wrong? looking forward to helping to test this!
Comment #8
roam2345 commented@rerooting checkout the project from git first.
Comment #9
rerooting commentedawesome! applied cleanly. ill let you know if i notice any issues.
Comment #10
rerooting commentedworks great! this was extremely helpful. we may be able to combine this with a patch we are working on to allow fields without unlimited cardinality.
Comment #11
mrfelton commented@rerooting - I'd love to get hold of your patch for that one, as we need to be able to use for fields that only allow one value, where really radios should be shown and not checkboxes. How far far are you with that path? got anything you want us to test?
Comment #12
rerooting commentednot much yet, we will let you know when we are ready to test. this is really for another issue entirely, just mentioning that this patch may offer a way to get around some of the complexities that has led the maintainer(s) to avoid non-unlimited cardinality with this widget.
Comment #13
roam2345 commented@rerooting could you let us know of the issue number that we can follow along with that patch? That cardinality issue was something I was about to tackle next :)
Comment #14
rerooting commentedSorry, we actually decided not to use entity reference view widget and instead used a patch for entityreference itself we found. We had wonderful results! For simple needs regarding exposing fields in option/radio lists and autocomplete, look no further than the patch we refer to on this comment!
http://drupal.org/node/1253776#comment-5813360
Comment #15
davidseth commented@rerooting - I have created a new module that allows for much more flexibility in creating the view. You can use the table view layout and add any addition fields you want. It also is much more light-weight in its implementation with less ajax calls back to Drupal.
It is currently in a sandbox: http://drupal.org/sandbox/davidseth/1489176. You will have to check out the 7.x-1.x branch.
Comment #16
rerooting commentedThanks david! We are doing fine with the patch to entityreference that I referred to, so we won't need any additional modules. I would highly suggest that all work along these lines focus on expanding this patch for entityreference.
Comment #17
bojanz commentedCommitted #6.