I all,

I've noticed that an integration with EntityReference module has been committed (http://drupal.org/node/1295276): thank you very much for this!

Now: what's the iter to use references_dialog with EntityReference module?

Thanks a lot

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MXT’s picture

Title: Documentation needed: how to use this module in congiunction with EntityReference? » Documentation needed: how to use this module in conjunction with EntityReference?
FiNeX’s picture

http://drupal.org/node/1491576 contains some instructions

BrankoC’s picture

Please find attached:

  • A simple README.txt file.
  • A hook_help() implementation that loads the README.txt file.

A few points of interest:

  • I used Sun's README.txt style as listed here: http://drupal.org/node/447604
  • I did not use the documentation linked from comment #2 in this issue.
  • I did not document the Search functionality (I do not know what it does).
  • The hook_help() implementation reads in the README.txt, then uses the fallback filter on the that text. I don't know how safe this is. Functionality copied from http://drupal.org/node/161085 and adapted for Drupal 7.

Anyway, I hope this is a useful start that can be built upon.

BrankoC’s picture

Status: Active » Needs review
BrankoC’s picture

I see now that somebody else added a README.txt to a different issue: http://drupal.org/node/1309792

BrankoC’s picture

FileSize
2.04 KB

A new version of the README.txt that merges in the documentation from http://drupal.org/node/1309792#comment-6125452 .

kaizerking’s picture

I do not get this

"3. Select one or more of the follow checkboxes:

* Edit dialog.

* Add dialog.

* Search dialog."

Where is this option?

BrankoC’s picture

In the settings of the field that you wish to add these actions to.

admin/structure/types/manage/CONTENTTYPE/fields/field_FIELDNAME

Do you not see these options, or is the README.txt unclear on where to find them?

kaizerking’s picture

Yes, I got it now, for some unknown reason the edit,add,search were not showing immediately
Thanks,
one more point is the created node shows the node id along with the text how to get rid of it?
for example it shows test(10)10 is the node id
Regards

BrankoC’s picture

I don't know the answer to that, maybe someone else can help.

fabsor’s picture

Title: Documentation needed: how to use this module in conjunction with EntityReference? » Add a README.txt that describes how to install and use the module

I'm changing the title a little.

fabsor’s picture

Status: Needs review » Needs work

I like the contents of the readme, but I would like to have a patch containing the everything including the README. The patch that is provided here doesn't apply either, it seems like you made a diff on the wrong files.

BrankoC’s picture

I hope this works, this git stuff is all frightfully new to me. See attachment.

fabsor’s picture

Status: Needs work » Needs review

I'm setting this to needs review.

berdyshev’s picture

Status: Needs review » Needs work
+* Views module.
+-- USAGE --

+   a. Create a new view 

is there only one way to enable Search Dialog with views. I the latest alpha version I see the option "Simple (with optional filter by bundle)". Does it works?

+++ b/README.txtundefined
@@ -0,0 +1,81 @@
+2. Create or edit a field of the type Entity Reference or Term ¶
+Reference.
+

you have trailing spaces (in this place and others) at the end of the lines. please fix this.

BrankoC’s picture

Don't hesitate to provide a patch.

DamienMcKenna’s picture

Step 3 in the installation instructions should be a little more verbose - in D7 several settings pages are shown when creating a new field while only one when editing an existing field, so the instructions should be clear as to where the options described will be found.

nhck’s picture

-- USAGE --
3. Select one or more of the follow checkboxes: 
 
   * Edit dialog.
 
   * Add dialog.
 
   * Search dialog.
 

This requires a certain widget type; I guess this should be mentioned in this readme?

aliyayasir’s picture

Issue summary: View changes

Yes it requires autocomplete widget. i have found this after 2 hours :)