Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 0.7.6.4
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by
MichaelOt.
-
AuthorPosts
-
04/18/2013 at 5:35 am #257418
Tibor
GuestI have a question regarding making a ‘physical’ connection from a Connections-entry (Trainers) and a custom post type (Workshops).
What I want to accomplish is the following:
– I have a custom post type ‘Workshop’. When adding a new workshop, I would like to be able to choose one or more trainers (Connections-entries), who’s profile will be shown in the Workshop entry.
I have done something similar before, but with posts and custom post types, using the Posts2Posts plugin, which makes this very easy, but I noticed (to my surprise) that Connections does not seem to use a custom post type for its entries.
An alternative would be to use a custom field in the Workshop post type, and use that as a parameter in the [connections] shortcode, but then it seems the only way to to that is to use the ID of the Connection-profile, which makes it kind of difficult for non-techy users.
Ideally there would be something like a tinyMCE button that could be used to select one or multiple Connections.
Alternatives anyone?
Thanks in advance!
04/18/2013 at 2:10 pm #257442Steven Zahm
Keymaster@ Tibor
Right, Connections is not a custom post type. Connections is actually much older than that feature. I contemplated converting it over but the post schema for the database just doesn’t fit well with a database schema designed for directories. I know there have been several other directory plugins that have popped up in the last couple years that do use custom post types. This does allow them to more rapidly expand their feature set because they can leverage many more of the available WordPress APIs for custom post types where as I do have to build from the the ground up. But I think in the end might be limiting, maybe.
I do admit Connections is screaming for the need of a TinyMCE button or better yet metafield where a user can simply check the entries they want to be displayed on the page. Actually, that would not be too difficult to do. But, unfortunately, using the shortcode with the ID is the only way to do this right now. Sorry.
04/22/2013 at 1:29 am #257573Tibor
GuestThanks for the quick reply Steven! I see your point. You might want to have a look at the way the UI is done in Posts2Posts; very much the way it works with tags, which is very convenient.
I have now solved it using the ID in a custom field (works perfect actually), but am still tempted writing up a custom post type for the trainers, since it does make a lot of things much easier, API wise.
Thanks anyway (I do still think your plugin is a great BTW).
11/25/2014 at 5:04 pm #310891MichaelOt
GuestThis reply has been marked as private. -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.