I write a piece of code taking the original user_group field. This code makes that in flexinode add content type appears the field Consultasql field, this lets to introduce a mysql query, this piece of code needs work because by the moment it outputs a drop-down menu at the time of edit/create the node, and a url when you're viewing the code, if you wanna use this take care to edit this functions:
- flexinode_field_sql_form, (line 21) to set the selectable options.
- flexinode_field_sql_format , (line 53) to format the output objects.
This contribution of flexinode needs to be paced in the contributed folder of flexinode.module.
I hope that will help some developers that need to make long form objects (like country list), i use this to let users to determine what association is on the organization of some event.
This can make flexinode powerful because integrates the nodes deeper.
| Comment | File | Size | Author |
|---|---|---|---|
| field_sql.inc | 4.24 KB | aleix |