Active
Project:
Flexifield
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2009 at 14:09 UTC
Updated:
14 Jan 2011 at 17:10 UTC
I'm trying to make Noderelationships work inside Flexifield.
The problem seems to be in class attribute of the element that is lost.
I tried to force (in flexifield hook mymodule_flexifield_child_fields_form_alter) to:
'#attributes' =>
array (
'class' => 'noderelationships-nodereference-autocomplete noderelationships[field_myfield]',
),
But the element is still rendered without the class attribute.
Where am I wrong?
Comments
Comment #1
pkej commentedI have a similar problem. The Node Relationships module and flexifield doesn't work well together.
When using the node on its own, the widgets from noderelationships attach themselves to the autocomplete nodereference field. The widgets are used to open modalframe dialogs for browsing/creating/viewing/deleting nodes.
Why support noderelationships module over others like cnr, backlinks etc, or nodereference explorer, nrem browser or similar node pickers that attach to nodereferences? I have tested them all, and noderelationships has quite a flexibility, it attaches to the normal autocomplete nodereference instead of adding yet more widgets, it solves the problem of finding existing nodes, of creating backreferendes/noderefferer fields in the node being refererenced.
Comment #2
Vote_Sizing_Steve commentedSubscribing.