Problem/Motivation
Configuring field groups using the flexiform element group module has no effect.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2228389-work_with_latest_field_group-3.patch | 843 bytes | rlmumford |
| #4 | 2228389-with_line_endings_fix-3.patch | 4.09 KB | rlmumford |
Comments
Comment #1
rlmumfordI have confirmed that flexiform element group works with field_group version 7.x-1.1
Comment #2
rlmumfordIt appears to not work with 7.x-1.2
Comment #3
rlmumfordSo I tracked it down, for version 1.2 field groups switches to doing its rendering using a pre_render callback attached to the form so we need to add this to our hook but only if a recent version of field group is being used.
I also noticed that the line endings in this file were broken, so one of the patches solves that.
Comment #4
rlmumfordComment #5
rlmumfordComment #7
rlmumfordThis is committed and a new beta7 has been released.
Comment #8
sreader commentedWhen loading the new release I am experiencing the following error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pantheon.flexiform_tags' doesn't exist: SELECT flexiform_tags.id AS id, flexiform_tags.tag AS tag FROM {flexiform_tags} flexiform_tags WHERE (id IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 1 ) in FlexiformController->attachLoad() (line 156 of /srv/bindings/074cc791a4b9481bb7ea963b9a655d73/code/sites/all/modules/flexiform/flexiform.entity.inc).
Comment #9
rlmumfordHi sreader,
When you download the latest copy of the code you will have to navigate to yoursite.com/update.php or use drush updb to run necessary database updates.
That should fix your problem.