Can't save groups anymore
- This topic has 3 replies, 2 voices, and was last updated 9 years, 6 months ago by
Anh Tran.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
June 1, 2016 at 8:24 PM #3256
rikmulder
ParticipantHi Anh Tran,
I too have a problem saving groups all in a sudden. I have groups with a few textfields and one imagefield.
I add a new page and can add a group, when I add a second group it overrides the first group and adds the image. So instead of two groups with each its own image (a logo) I get one group with the two images attached.
I checked the forum and cleared the cache to see if it was the javascript problem but that doesn't help.
Here's the code I use to define the field:
// METABOX: FOOD FESTIVAL $meta_boxes[] = array( 'title' => 'Foodfestivals toevoegen', 'post_types' => array( 'page' ), // Register this meta box for posts matched below conditions 'include' => array( // With all conditions below, use this logical operator to combine them. Default is 'OR'. Case insensitive. Optional. 'relation' => 'OR', // List of post parent IDs. Alleen toevoegen als parent ID 81 (foodfestivals) is 'parent' => array( 81 ), ), 'fields' => array( // Group array( 'name' => 'Food festival', // Optional 'id' => 'ff_id', 'type' => 'group', 'clone' => true, // Clone whole group? //'sort_clone' => true, // Drag and drop clones to reorder them? // List of sub-fields 'fields' => array( array( 'name' => '<strong>Naam festival</strong>', 'id' => $prefix . 'ff_name', 'type' => 'text', ), array( 'name' => '<strong>Website</strong>', 'id' => $prefix . 'ff_url', 'type' => 'text', ), array( 'name' => '<strong>Plaats</strong>', 'id' => $prefix . 'ff_place', 'type' => 'text', ), array( 'name' => '<strong>Datum</strong>', 'id' => $prefix . 'ff_date', 'type' => 'text', ), array( 'name' => '<strong>Visual festival</strong>', 'id' => $prefix . 'ff_visual', 'type' => 'image_advanced', 'desc' => 'Visual (128 x 128 px).' ), // Other sub-fields here ), ), ), );June 1, 2016 at 8:42 PM #3258rikmulder
ParticipantUpdate: I went back to version 4.8.5 which works.
June 1, 2016 at 8:57 PM #3259rikmulder
ParticipantDeactivated everything, deleted and installed again using the Update extension. Working now.
June 1, 2016 at 9:24 PM #3262Anh Tran
KeymasterGlad that you have resolved this 🙂
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘Can't save groups anymore’ is closed to new replies.