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.
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.
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.
10/07/2016 at 11:39 am #394621
Great plugin; thank you for creating it.
I am trying to create a member directory that contains both individuals and families. The behavior I am looking to create is that the Directory page would display families (or individuals if they are not part of a bigger family) and then when you clicked through to the family profile, the listed individuals would be available to click through for more detail. I have succeeded in creating the structure I want by assigning each individual to a category (“Individual”) and then creating a family entry and assigning that to a category (“Family”) and then telling connections to only display the family category. I can then assign the relationship through the plugin and everything lists great. However, when you try to click on an indivdual in the profile page to find more information, it won’t populate. I assume this is because I told connections not to display that category and it is treating it globally, but I don’t know how to change the display behavior for single entries. Am I on the right track or should I take a different approach? Your thoughts would be appreciated.
-Nate10/10/2016 at 5:32 pm #394960
If I follow you can use a two page setup…
Add a new page, call is “Person” (the name is unimportant but should be related). Add only the
[connections]shortcode to this page with no options. After you publish this page take note of the page ID. You find this in the web browser address bar.
Now, edit the page you had set up previously and add the home_id shortcode option to the existing shortcode using the page ID from the newely created “Person” page.
Hope that helps, let me know.10/11/2016 at 9:50 am #395100
Though this adds an additional page that I don’t really want available, this gives me the desired behavior as I go into the deeper profile. The only thing that doesn’t work now is the “Go back to directory” link, as that goes to the new page I specified as the home_id. I tried changing that page’s home_id to point back to the original directory page, but then I can’t go deeper than one level in the individual names :(
My guess is that the only fix is to hardcode the permalink for the directory page somewhere in gridder’s php files, but I can’t seem to find where that would be. Unless you have a more elegant solution?
-Nate10/11/2016 at 11:34 am #395106
re: this adds an additional page that I don’t really want available
Make sure that is is not in the menus so it is not directory accessible.
re: The only thing that doesn’t work now is the “Go back to directory” link, as that goes to the new page I specified as the home_id. I tried changing that page’s home_id to point back to the original directory page
With your setup the only real option would be to turn off the back link… online users all very well versed in using the back button on the browser.
re: My guess is that the only fix is to hardcode the permalink for the directory page somewhere in gridder’s php files, but I can’t seem to find where that would be.
The code for the back link is in the
class.template-parts.phpfile found here:
../wp-content/plugins/connections/includes/template/. It’s not in the template itself because this a core template feature shared across all templates.
re: Unless you have a more elegant solution?
Sorry, no, I do not. The design is really based on a single page setup with one shortcode. As you see you can use multiple pages to create more sophisticated directories but not all features are going to be 100% compatible since there is no way to “link” one instance to another (page to page).
I was thinking… what is the exact shortcode your are using on the original directory page? And what is the exact error/result when you clicked on the family member name?
I ask because when clicking an entry name, several shortcode options are reset so the individual entry can be displayed. The options reset would be
category_in. So, I guessing you might be using another shortcode option that is not reset which prevents the display of the family member profile page.10/11/2016 at 12:00 pm #395112
That was exactly the problem!I was using category_exclude and it was carrying over. I switched how I was labeling categories and just used category_in and everything works perfectly. Thanks!
-Nate10/11/2016 at 12:41 pm #395156
Ahhh… that would do it. Looks like I should also reset the
category_excludeoption too so it does not carry over. I made the change so that will be included in the next update. Apologies for the trouble!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
You cannot reply to this support topic. Please open your own support topic.