Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download references-7.x-2.0.tar.gztar.gz 37.43 KB
MD5: 3dbad2c02781005a4c828da37920c6d5
SHA-1: c66d12db67e7777ac9e9f67075729484a52c4508
SHA-256: 3ae408d475e8a4b30ebf33fa65fd73eb1a2e53cc456730408544f7351e85ccf0
Download references-7.x-2.0.zipzip 44.7 KB
MD5: 83288ef8ba2c80b71802b7dad6852891
SHA-1: e63e7512203d922a4c63cfcaafdadabffdc0e08a
SHA-256: 555bcfd880aea16011565ceeb2043b692506c3a579fb7edb7fcd04b5120d39a6

Release notes

Please note that References will most probably be deprecated in the near future in favor of Entity Reference, which should probably be considered first on fresh D7 projects.

Note for users upgrading from References 7.x-2.0-beta3:
There were a couple changes in the way 'References' views are handled
("referenceable nodes/users defined by a view"), which might require
double-checking those existing on your site:
- The 'label' (node title or user name) is no longer automatically added if not
included in the view. If some of your 'References' views currently do not
include it, you might want to add it explicitly, else it will no longer appear
in the widgets.
- The HTML generated by the view is no longer stripped out before being handed
to "checkboxes / radios" widgets, thus allowing advanced formatting. You might
want to check for Reference views having fields configured to display "as
links", since the (probably unwanted) tags generated by Views are not
removed anymore.

Note for users upgrading from CCK D6:
- The Refernces project integrates with the content_migrate module present in
CCK 7.x-2.x-dev to allow the migration of field definitions and field values
from D6 nodereference and userreference fields. Field values are safely
migrated, and a best effort is made for the field definitions, but the settings
for widgets and formatters might need to be manually checked and adjusted after
the migration.
- The "referenceable nodes/users defined by a view" feature is now supported
through the dedicated 'References' views Display type, as opposed to using the
'default' display in D6. A temporary backward-compatibility layer is included
and the existing views should keep working as expected (if they have been
properly adapted/migrated from D6 themselves), but it is highly recommended to
edit them and add an explicit 'References' display - submitting the "field
settings" will lose the currently selected view if it doesn't have a
'References' display.
- The remarks in "Note for users upgrading from beta3" above also apply.

#1157530 by yched: Fixed node-specific code in references.module code.
#1157746 by yched: Fixed 'match' option not working in views.
#1149600 by dafeder, yched: fix 'Undefined index error' in
_[user|node]_reference_view_settings_validate().
#1045019 by Les Lim, Steven Jones, rickvug, and KarenS: Added devel_generate
integration.
#1230550 by yched: Dispaly a warning about manual Views edits during D6 field
migration.
#1083902 by dereine, derhasi: Added backreference views relationships.
#1157538 by yched: Enhance previews for 'References' views displays.
#1094406 by h0tw1r3: Added Account for the 'view own unpublished content' perm
when displaying referenced nodes.
#1183300 by Pasqualle: Remove maxlength from noderef autocomplete widget.
#1236096 by Dave Reid: fix fatal error on prepare_view (followup to #1094406)
#1275096 by Scyther, dereine, and jenlampton: Fix column not found error for nid.
#1275096 by jboese, dereine: Fix column not found error for nid (take 2).
#1341148 by plach: Fix Check views_access() when using Views to get the potential
references.
#1085576 by henrrrik, stamina, yched: Added "raw ID" and "raw path" formatters.
#1051624 by Stalski: Added "rendered user in a given view mode" formatter for
user_reference fields.
#988856 by Nephele, johnv, rickmanelius, BlakeLucchesi ... : Added Feeds mapper
for node_reference and user_reference fields.
#1219224 by kunago, michaelfavia, yched: Added support for optgroups in select
widget (for referenceable nodes/users provided by a view).
#1194086 by Dave Reid, mariagwyn, yched: Display entity labels through entity_label()
(formatters only for now)
#1288852 by yched: Fixed "Trying to get property of non-object" with fatal error
on user_reference fields using a view (when the view does not include the
user name as a field).
#1378086 by yched: Stop implicitly adding the 'node title / user name' field in
Reference views if it is not present in the view definition.
#1155946 by yched: allow HTML in "checkboxes / radios" widgets (for lists of
referenceable targets generated by views).
#1139238 by wondex, s_leu: Add relevant meta data in the 'potential_references'
db query to allow smart alteration.

Created by: yched
Created on: 22 Dec 2011 at 23:29 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
New features
Bug fixes
Insecure

Other releases