- This topic has 4 replies, 2 voices, and was last updated 6 years, 3 months ago by
mcmaster.
-
AuthorPosts
-
-
October 23, 2015 at 6:57 pm #4720
mcmasterMemberMy client contacted me to say that she tried to edit the page that I set up for her yesterday, and she deleted all the bios. The bios are implemented as an add-more group:
piklist('field', array( 'type' => 'group', 'field' => 'board_members', 'label' => $label, 'description' => '', 'add_more' => true, 'template' => 'field', 'columns' => 12, 'fields' => array( array( 'type' => 'text', 'field' => 'person_name', 'label' => 'Name', 'columns' => 12, ), array( 'type' => 'text', 'field' => 'person_title', 'label' => 'Title (if applicable)', 'columns' => 12, ), array( 'type' => 'editor', 'field' => 'person_bio', 'label' => __( "Person's Bio" ), 'description' => __( 'Brief biography'), 'columns' => 12, 'options' => array ( 'media_buttons' => false, 'teeny' => true, ), ), array( 'type' => 'file', 'field' => 'person_image', 'label' => 'Add an image', 'options' => array( 'modal_title' => 'Add Image', 'button' => 'Add', ), ), ), ));When I asked for more information, she said that she deleted a couple of the bios, edited and added others. Then she pressed Preview. Nothing happened. So she just pressed Update … and all the bios disappeared.
I was able to reproduce this. I deleted the second bio and edited a couple of others. Pressed Preview, nothing happened. Pressed Update and all but the first bio disappeared. This may indicate that if one is deleted, then those after it are also deleted. (One of the bios she deleted was the first one.)
Donna
-
October 23, 2015 at 7:07 pm #4721
mcmasterMemberoops, forgot to mention this is 0.9.9.4
-
October 23, 2015 at 7:16 pm #4722
KevinKeymaster@mcmaster-
I wasn’t able to reproduce this on a fresh install. This was the only field on my edit screen, the preview worked as expected and several edits and updates worked as expected. If you would like to send credentials for us to login we would be more than happy to take a look.
Thanks,
Kevin
-
October 23, 2015 at 7:59 pm #4724
mcmasterMemberI can’t give you access to the live site. I just tested on my dev site, and was able to reproduce with the 2015 theme and all plugins disabled except for Piklist and a stripped down version of my Piklist add-on plugin.
I’m attaching a zip of my plugin. I can also provide you with a database export and/or set up a test account on my server.
-
October 23, 2015 at 8:00 pm #4725
mcmasterMemberNever mind, will email you the plugin zip.
-
-
AuthorPosts
- You must be logged in to reply to this topic.