Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Field data added but will not update #8400

    Sorry ….. i’d added the remove_post_type_support for post but not pages! Sorry. Working fine now.

    in reply to: Field data added but will not update #8399

    So after some testing it’s pretty much all fields added by piklist except those in repeater fields?!

    What on earth could have caused this and failed so silently?

    in reply to: Applying a condition to an editor field #7424

    That’s essentially what I did, I’ve posted my code below.

    piklist('field', array(
        'type' => 'radio'
        ,'field' => 'news_sidebar_conditional'
        ,'label' => __('Does this news item have a sidebar?', 'piklist-demo')
        ,'choices' => array(
          'show' => 'Yes'
          ,'hide' => 'No'
        )
        ,'value' => 'hide'
      ));
    
    piklist('field', array(
        'type' => 'editor'
        ,'field' => 'news_sidebar'
        ,'scope' => 'post_meta'
        ,'template' => 'field'
        ,'options' => array (
          'wpautop' => true
          ,'media_buttons' => true
          ,'tabindex' => ''
          ,'editor_css' => ''
          ,'editor_class' => ''
          ,'teeny' => false
          ,'dfw' => false
          ,'tinymce' => true
          ,'quicktags' => true
          ,'drag_drop_upload' => true
        )
        ,'on_post_status' => array(
          'value' => 'lock'
        )
        ,'conditions' => array(
          array(
            'field' => 'news_sidebar_conditional'
            ,'value' => 'show'
          )
        )
      ));
    in reply to: Applying a condition to an editor field #7418

    Hey. Currently using v0.9.9.9 and trying to do a simple conditional with the field being hidden as an editor, but it refuses to hide/show.

    Can you confirm if this is possible in the latest version?

Viewing 4 posts - 1 through 4 (of 4 total)