• ResolvedPlugin Contributor Alex Ciobica

    (@ciobi)


    I know you’re working on improvements on the UI and I’m not sure what you’re planning but I’d like to throw some ideas at you:

    • Support for asterisk in the search box to show all, or the addition of a show all button. This could either just generate a list with all results or add a drop down with all items to select from to avoid issues when there are too many posts.
    • The ability to customize all interface elements elements at connection registering. Also, the addition of support for different messages for each post type when reciprocal relations are involved.
      E.g.:

      $args = array(
      		'from' => 'book',
      		'to' => 'author',
      		'reciprocal' => true,
      		'title' => array( 'Authors', 'Books written by this Author' ),
      		'label' => array( 'Search authors', 'Search books' ),
      		'description' => array ( 'Use * to see all authors. Click to add', 'Use * to see all books. Click to add.' )
      	);
      p2p_register_connection_type( $args );

      would result in:
      http://i.imgur.com/lblI8.png for the “Add book” perspective.

    Tell me if I can help.

Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘[Plugin: Posts 2 Posts] UI api suggestions’ is closed to new replies.