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.
- This topic has 6 replies, 3 voices, and was last updated 8 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
09/19/2014 at 11:35 am #304528
Margaret McCarthy
ParticipantHi,
I am using the names template to list names in a sidebar: users can click through the names to see different employees.
But the client wants people to land on an intro page, with group photos and text, and then be able to navigate through the list in the sidebar. When I set it up that way, I see the employees name in the heading but the same content, I can’t get the employee’s profile to display.
THis is how the client wants it to work:
http://www.tcva.com/our-people/Possible?
09/22/2014 at 11:56 am #304780Steven Zahm
Keymaster@ Margaret
One way I can think of accomplishing this is with two pages.
The first, the landing page named as “Our People”
The second, the “result” page named as “Person”The first page is the one you would put in the site nav and have the Names shortcode widget.
The second page you would exclude from the site’s nav but it should also have the Names shortcode widget.
The second page should be setup as the “Directory Home Page” that way when names are clicked, the user will end up on the “results” /”Person” page.
This page should have only the
[connections template=profile]
shortcode.That should get you the functionality you want.
Hope that helps!
09/22/2014 at 4:23 pm #304809Meg
GuestYes, helps hugely, thanks.
Now I need to add something to the sidebar shortcode I think.
I want to show the vCard with the profile, but when I turn that on, it also appears in the names widget. Is there a shortcode for that? I tried vcard=’no’ and that didn’t work.
09/23/2014 at 10:18 am #304865Steven Zahm
Keymaster@ Meg
Uhm… yeah, I forgot about that.
You’re using the Profile template as the detail/single entry template, right?
What you’ll have to do is follow this to create a custom version of the Profile template.
Then add the following code to the template where you want the vCard download link to show:
<?php $entry->vcard( array( 'before' => '<span>', 'after' => '</span>' ) ); ?>
My suggestion is on this line.
Hope that helps! Apologies for forgetting that that entry action would display in the sidebar too when enabled!
12/16/2014 at 11:06 am #312895Steven Zahm
Keymaster@ Meg
**re: Hi Steve,
I am using the Profile template in the content area and the names template in a widget.
I need the vcard to display in the Profile. I added a line of code to profile.php that you sent me, which worked well.
I just updated Connections and lost that vcard, so I thought it was overwritten.
But when I look at profile.php the line of code is there (see your message below). Did I miss a step?**
Did you follow the suggestion to create a custom template from Profile?
If you did, is the custom template override plugin still activated?
12/16/2014 at 4:00 pm #312966meg
GuestAh that’s better. Thanks for refreshing my memory.
12/17/2014 at 9:32 am #313014Steven Zahm
Keymaster@ Meg
So you’re good then?
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.