Support » Plugin: Pods - Custom Content Types and Fields » Update Broke my Pods

  • Resolved krmediadesigns


    I’ve updated Pods on two of my sites that had a function for “Customized Pods UI” so we could easily reorder the pods entries. The update has kept the ability to reorder, however if you click the main Pods menu tab – there are no options to create a new Pod, edit, etc – the whole screen has been replaced it with the Pod entries of the Pod I have assigned the UI.


    This is the UI code:

    function pods_ui_staff()
      $icon = '';
      add_object_page('Staff', 'Staff', 'read', 'staff', '', $icon);
      add_submenu_page('staff', 'Staff', 'Staff', 'read', 'staff', 'staff_page');
    function staff_page()
      $object = new Pod('staff');
      $add_fields = $edit_fields = array(
      $object->ui = array(
                        'title'   => 'Staff Member',
    					'reorder' => 'displayorder',
            'reorder_columns' => array(
                 'name'      => 'Name',
                 'staff_title'  => 'Job Title'),
    		'category'  => 'Category',
                        'columns' => array(
                                  'name'      => 'Name',
                                  'staff_title'  => 'Job Title',
    							  'category'  => 'Category',
                                  'created'   => 'Date Created',
                                  'modified'  => 'Last Modified'
                        'add_fields'  => $add_fields,
                        'edit_fields' => $edit_fields

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update Broke my Pods’ is closed to new replies.