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 4 replies, 2 voices, and was last updated 11 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
03/26/2015 at 3:08 pm #329774
info@goldenhelpdesk.com
ParticipantHello, first off – EXCELLENT Plug-in. I have been using this plug-in for years and your support has been excellent. I’d highly recommend anyone reading this to pay for the upgraded templates. They make a HUGE difference.
I need assistance customizing a client site. I just purchased “Gridder” and they are requesting I add additional information to the display page. We turn the profiles off completely as we only want to show address, main phone, direct phone, cell phone, fax, email, and some other fields.
A while back you had helped me pull this information and label them so they displayed properly on the old site (copied below)
http://insassoc.com/about-us/officers-and-key-personnel/The new page is located here:
http://insassoc.com/newsite/about-us/officers-and-key-personnel/The initial display looks good. I have customized and used CSS to resize the text.
Here is a list of what I would like:
* I need to pull the same fields from the database as on the old site. This includes the following fields (format is Data Field > Label below)Address > Work Address
Work Phone > Direct
Home Phone > Main
Cell Phone > Cell
Work Fax > Fax
Email > Work Email- I’d like to be able to style these fields (phone, email, and the fields above) a little bit more. Do you have the css tags so I can do this? I didn’t see it when I looked at the code.
- I use a plug in that calculates the number of years at the company and number of years in the industry. This is important to the client, but it seems to be disabled in this new version and doesn’t recognize the shortcode. Is there any way around this? The plugin is called “MagicDate.”
Thank you again. I am copying parts of the old site below for your reference.
OLD Shortcode:
[raw][connections category='1,2,3,4' id='4,16,7,31,17,23,8,18,9,10,11,12,19,26,32,28,20,13,21,14,15,30,22,29,27,24,25' order_by='id|SPECIFIED' enable_search=FALSE enable_category_select=FALSE card_width=320 card_height=200 image_width=100 image_height=150 show_addresses=TRUE str_select='Select Office Location' str_select_all='All Insurance Associates Staff' str_work_addr='' phone_types='homefax,workphone,cellphone,workfax,homephone' str_home_fax='main' str_work_phone='direct' str_cell_phone='cell' str_work_fax='fax' str_home_phone='home' str_work_email='email' contact_name_format=’%prefix% %first% %middle% %last% %suffix% show_empty_categories=FALSE page_limit=40][/raw]New Shortcode:
[connections enable_category_select=true enable_search=true show_social_media=false show_profile_link=false order_by=”id|SPECIFIED” background_color=002d55 color=fff id=’13,10,17,7,6,9,22,21,18,4,12,11,16,23,1,3,2,5,19,20,14,8,15′ str_select=’Select Office Location’ str_select_all=’All Insurance Associates Staff’]03/27/2015 at 1:49 pm #329881Steven Zahm
KeymasterOk, lets see…
re: I need to pull the same fields from the database as on the old site. This includes the following fields (format is Data Field > Label below)
Gridder is designed to only show those details on the profile page. So, the only way to add those fields is to edit the template files.
You are going to have to edit the
card.phpfile found here:
../wp-content/plugins/connections-gridder/You’ll be able to copy/paste the relevant code from the
card-single.phpfile.All the shortcode options from the old site still work with Gridder, but since those relate to items on the profile page they will not have any affect. However, after you pull in the code from the
card-single.phpfile into thecard.phpfile they’ll work just fine.re: I’d like to be able to style these fields (phone, email, and the fields above) a little bit more. Do you have the css tags so I can do this? I didn’t see it when I looked at the code
These do have classes in the HTML markup that you can select with CSS. Not sure what code you looked at, they do have classes, I promise.
re: I use a plug in that calculates the number of years at the company and number of years in the industry. This is important to the client, but it seems to be disabled in this new version and doesn’t recognize the shortcode. Is there any way around this? The plugin is called “MagicDate.”
This is because shortcodes are not applied with excerpts. I didn’t look at every single entry but it seems the bio text is small for them all. What you can do is edit the
card.phpto use the full bio instead of the excerpt. Change this:if ( $atts['excerpt_length'] ) { echo wp_trim_words( $entry->getBio(), $atts['excerpt_length'], $atts['excerpt_more'] ); } else { echo $entry->getBio(); }to this:
echo $entry->getBio();Lastly, I mentioned editing the PHP files several times… I highly recommend following the advice in this QuickTip to ensure these changes are update safe.
Hope that helps!
03/27/2015 at 5:58 pm #329892info@goldenhelpdesk.com
ParticipantThank you so much. I have talked to the client and they have agreed to skip some of these changes, thank goodness!
I have a new issue – It is only displaying 20 of the contacts. Is there a way to display all of the contacts? Here is my shortcode:
[connections enable_category_select=true enable_search=true show_social_media=false show_profile_link=false order_by=”id|SPECIFIED” background_color=002d55 color=fff id=’13,10,17,7,6,9,22,21,18,4,12,11,16,23,1,3,2,5,19,20,14,8,15′ str_select=’Select Office Location’ str_select_all=’All Insurance Associates Staff’ image_width=250 image_height=250 excerpt_length=1200]
As you can see there are 23 individuals. Not sure why they are not coming up.
03/29/2015 at 6:18 pm #329977Steven Zahm
KeymasterQuick question… if you disable search, do all 23 entries display?
03/30/2015 at 9:47 am #330020Steven Zahm
KeymasterPlease do not reply to the auto-reply notifications sent by the forum. Normally I do not receive those as I have them filtered.
Your reply for historical reference:
Yes – That solved the issue. Thank you. I am ok with leaving search off. JOk, great to hear that fixed the issue but the cause is a bug in Gridder. I’ll have to push out an update to address it.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
