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 5 replies, 2 voices, and was last updated 12 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
08/28/2013 at 5:10 pm #268215
Mitch
ParticipantHey Steve,
For some reason, an application of this shortcode in cmap does not seem to take for me.
Here is the usage:
[connections order_by='department|SORT_DESC,organization|SORT_ACS' enable_pagination='false' page_limit=99 enable_search='false' enable_category_select='false' show_alphaindex='false' show_alphahead='false' image_fallback='none' enable_note='true' enable_bio='true' enable_website_link='false' contact_name_format='%first% %last%' addr_format='%line1% %line2% %city%, %state% %zipcode%' phone_format=%number% email_format= %icon% link_format='%title%']
Using:
WordPress: 3.6
Connections: 0.7.8.1
Database: 0.1.9
cmap: 3.0.3This code is on the Conncetions ‘home’ page. Shouldn’t ANY category page that is rendered from this connections ‘home’ page apply this code?
Am I doing something wrong?
Thanks!
08/28/2013 at 8:55 pm #268261Steven Zahm
Keymaster@ Mitch
That’s because someone , namely me, didn’t update the docs…
The correct option is
show_links='false'Sorry `bout that!
08/28/2013 at 9:04 pm #268262Mitch
ParticipantAhh, those things happen when you’re pumping out bigger and better code so often. :)
That adds a different conundrum. I wanted to NOT show the links on the main homepage layout of multiple records, but DID want to show it on the single entry – connectionshomepage/company/companyname page.
No can do??
08/28/2013 at 9:36 pm #268264Steven Zahm
Keymaster@ Mitch
Not the most elegant solution, but CSS can be your friend.
#cn-cmap .link-block { display: none; } #cn-cmap .cn-entry-single .link-block { display: block; }Untested, but should work.
08/28/2013 at 10:22 pm #268266Mitch
ParticipantAfter adding a metric ton of css to a sample theme, the last thing I was thinking was more css. (Forest and Trees thing). :)
So that code didn’t work, but this did…
#cn-list .cn-entry-single span.link { display: block; } #cn-list span.link { display: none; }Not sure if that will mess anything up, but it worked. Thanks for pointing me in a direction. Please let me know if that is going to blow something up. :)
08/29/2013 at 9:40 am #268268Steven Zahm
Keymaster@ Mitch
That’ll be fine too. Not sure why my suggestion didn’t work. The only difference between the solutions is I was targeting the entire link block whereas yours targets links individually. Any way the net result is the same.\
Cheers!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
