• Resolved Head Goldfish

    (@shoelaced)


    I asked about this back in May and I would like to use this on an upcoming project but it hasn’t been resolved yet and I’m wondering if any progress has been made.

    The issue is that if you have a repeatable date/time combo group, the extra rows vanish and the one remaining date displays the current date/time instead when you save the post.

    This is my code for the metabox itself, but it looks different than the first time I asked this – think an update must have changed it but all of my other metaboxes work perfectly. Am I doing something wrong?

    $cmb_demo->add_field( array(
    		'name' => __( 'Test Date/Time Picker Combo (UNIX timestamp)', 'cmb2' ),
    		'desc' => __( 'field description (optional)', 'cmb2' ),
    		'id'   => $prefix . 'datetime_timestamp',
    		'type' => 'text_datetime_timestamp',
    		'repeatable' => true,
    	) );

    This ticket was opened at the time but it doesn’t look like anything has been done on it.

    https://github.com/WebDevStudios/CMB2/issues/330

    Please help! I did figure out a workaround but it’s clumsy and I was hoping I could use this for my new project.

    https://www.ads-software.com/plugins/cmb2/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If there’s been no movement on the GitHub ticket then regrettably chances are it hasn’t been directly addressed.

    Are you running the latest version of the available plugin? It’s possible that it may have been unknowningly fixed as other things were taken care of, in the event it had circumstances elsewhere that contributed to it. Worth a shot.

    Thread Starter Head Goldfish

    (@shoelaced)

    Yes I’m running the latest version of WordPress and CMB2.

    I used repeatable date/times a while back and it worked fine, and then in May I discovered it had stopped working and I wasn’t sure which update had broken it. I was hoping by now it would have been fixed in another update but I’ve just tried it and it still isn’t working. The example-functions.php code does look different though so I thought perhaps it was my fault this time but I guess not.

    Don’t mean to be antsy, it’s just that being able to enter multiple dates and times for events is basically the main reasons I use CMB2 and it was perfect when it used to work… is there a way to tell whether the issue’s been seen by anyone on GitHub?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Nope, GitHub doesn’t do any indicators like that. Pinged Justin, the lead dev, on the ticket itself. He may have some insight that hasn’t been commented on yet. However, it’s also Friday night so may not get a reply right away.

    Thread Starter Head Goldfish

    (@shoelaced)

    Okay well thank you for your help. I’ll wait to put in this aspect and keep my eye out for CMB2 updates.

    Thread Starter Head Goldfish

    (@shoelaced)

    Sooo… I saw here on GitHub that this issue had been fixed:

    https://github.com/WebDevStudios/CMB2/issues/330

    …but I’m trying it now (I use this plugin on almost every project, haha) and it still isn’t saving. Could the latest WP update have thrown something off again?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    My bets are that it’s fixed in the github trunk copy, but the version with the fix hasn’t been released yet to www.ads-software.com here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Repeatable Date Won't Save’ is closed to new replies.