Having trouble displaying relationships with admin columns pro
Support › MB Relationships › Having trouble displaying relationships with admin columns proResolved
- This topic has 6 replies, 2 voices, and was last updated 4 years, 4 months ago by
Jonathan Schroeder.
-
AuthorPosts
-
June 3, 2021 at 4:04 AM #28659
Jonathan Schroeder
ParticipantHere's my code linking two content types:
add_action( 'mb_relationships_init', function() { MB_Relationships_API::register( [ 'id' => 'projects_to_markets', 'from' => array( 'object_type' => 'post', 'post_type' => 'projects', 'admin_column' => true, ), 'to' => array( 'object_type' => 'post', 'post_type' => 'markets', 'admin_column' => true, ), ] ); } );I have metabox core, the metabox relationships addon, admin columns pro and the metabox addon installed.
The connections are being made, and I can see them on both ends when editing a single project or market. However, when I've added the columns using admin columns pro, I'm only getting a "Connects from" or "Connects to" header, with no information shown there.
Anything obvious I'm doing wrong?
June 3, 2021 at 6:29 PM #28679Long Nguyen
ModeratorHi Jonathan,
MB Core also includes the extension MB Admin Columns which helps you to show the relationships in admin columns, does not need to use other plugins.
I will check the integration plugin Meta Box - Admin Columns Integrator and get back to you later.
June 3, 2021 at 11:20 PM #28689Jonathan Schroeder
ParticipantSo, these are both paid upgrades, which is fine – but I know for sure that I've done this before without either of these addons. Are there any gotchas that you can think of that I'm just doing wrong? Even on this site, I saw them show up for a moment, and then something broke it (not sure what I changed).
EDIT: just realized that the integrator actually is the same addon for Admin Columns Pro that I already have installed.
June 4, 2021 at 3:58 PM #28703Long Nguyen
ModeratorHi Jonathan,
Can you please deactivate the plugin Admin Columns Pro and re-check this issue?
June 4, 2021 at 10:38 PM #28710Jonathan Schroeder
ParticipantThis column is working fine when Admin Columns Pro is disabled; however, we do use it to show other necessary columns as well.
June 5, 2021 at 1:29 PM #28722Long Nguyen
ModeratorHi Jonathan,
It looks like the Admin Columns Pro is not compatible with MB Relationships. The integration plugin is developed by their team, so please try to contact their support to ask for help in this case.
June 10, 2021 at 11:02 AM #28812Jonathan Schroeder
ParticipantLooks like they may have made a fix on their end for this, as it's suddenly working with no change on my part. Thanks for your help!
-
AuthorPosts
- You must be logged in to reply to this topic.