fields not showing in admin box
-
I am registering a connection as shown below. The admin box shows up, and I can add or delete connections. But the fields do not show up.
I have tried different file types (text, checkbox, select) none of them are displayed.
It’s as if the fields block is not being run.
p2p_register_connection_type( array( 'name' => 'post_to_toys', 'from' => 'post', 'to' => 'toys', 'sortable' => 'any', 'reciprocal' => false, 'admin_box' => array( 'show' => 'any', 'context' => 'normal', 'can_create_post' => true, 'fields' => array( 'toy-type' => array( 'title' => 'Type', 'type' => 'select', 'values' => array( 'details' , 'review' ), 'default' => 'review' ), ) ), 'admin_column' => 'any' ) );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘fields not showing in admin box’ is closed to new replies.