Tagged: ,

Viewing 4 reply threads
  • Author
    Posts
    • #4720
      mcmaster
      Member

      My 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

    • #4721
      mcmaster
      Member

      oops, forgot to mention this is 0.9.9.4

    • #4722
      Kevin
      Keymaster

      @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

    • #4724
      mcmaster
      Member

      I 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.

    • #4725
      mcmaster
      Member

      Never mind, will email you the plugin zip.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.