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: 8.5.1, contact name, css, getContactNameBlock(), Gridder, organization, template
- This topic has 6 replies, 2 voices, and was last updated 7 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
10/22/2015 at 11:28 am #351409
Denis Leftakis
ParticipantI have built the Directory with Gridder to display by organization. I have to add the contact name on the card, on can’t figure out how to do this.
This is the link : http://ccirroussillon.com/repertoire-des-membres-2/
I need to see the contact name under the organization name on that page.
Thanks
10/22/2015 at 12:27 pm #351418Denis Leftakis
ParticipantAlso, when categorized under Organization, the Title field is not there.
10/22/2015 at 1:28 pm #351423Steven Zahm
Keymaster@ Denis
re: I need to see the contact name under the organization name on that page.
The design of the template was intended to be used for individuals so it does not display the contact name. This can be added but you will have to edit the template’s php file in order to add it.
You need to edit the
card.php
file found here:../wp-content/plugins/connections-gridder/
Add the following to line 46 and line after line 69, before the
</div>
:<?php $entry->getContactNameBlock( array( 'format' => $atts['contact_name_format'] , 'label' => $atts['str_contact'] ) ); ?>
If you edit the template, I suggest you follow the guidance in this QuickTip.
re: when categorized under Organization, the Title field is not there.
Sorry, but only individuals can have a “Title”. Maybe use the the department field instead.
Hope that helps!
10/22/2015 at 1:51 pm #351426Denis Leftakis
ParticipantIt’s not working… Attached is the card.php
-
This reply was modified 7 years, 11 months ago by
Denis Leftakis.
Attachments:
You must be logged in to view attached files.10/22/2015 at 5:52 pm #351457Steven Zahm
Keymaster@ Denis
Add this to the theme’s custom CSS area:
#cn-gridder .cn-gridder-overlay .title, #cn-gridder .cn-gridder-name .title, #cn-gridder .cn-contact-block { display: block; font-size: 14px; font-weight: 400; line-height: 14px; text-transform: none; }
That should fit the display.
10/23/2015 at 5:02 pm #351556Denis Leftakis
ParticipantFinaly, I needed to reset the member to individual, and now have to add the organization on the card. I did the same, but it dosent display. What CSS code I should add for organization ?
Attached is my new card.php file
Thanks
Attachments:
You must be logged in to view attached files.10/26/2015 at 12:19 pm #351778Steven Zahm
Keymaster@ Denis
Add this to the
card.php
file on line 46:$entry->getOrgUnitBlock();
Update the CSS to this:
#cn-gridder .cn-gridder-overlay .title, #cn-gridder .cn-gridder-name .title, #cn-gridder .cn-contact-block, #cn-gridder .org { display: block; font-size: 14px; font-weight: 400; line-height: 14px; text-transform: none; }
-
This reply was modified 7 years, 11 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.