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: 0.7.9.3, category_in, cMap, installations, template, update
- This topic has 1 reply, 2 voices, and was last updated 12 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
11/06/2013 at 8:46 pm #273131
Stephanie
GuestLove the plugin and have been using it on a college website: http://www.bethanylb.edu/directory.
We want our contact pages to list individuals based on the organizational hierarchy, so I used your solution of including multiple shortcodes on a page. For example, I want to list department chairs first, then full-time professors, part-time instructors, and administrative staff. My shortcodes are as follows where ?? is the specific department (business, art, etc.)
[connections category_in="51,??"]
[connections category_in="50,??"]
[connections category_in="52,??"]
[connections category_in="56,??"]When there were no entries in both categories, I believe the plugin used to return “no results” or similar text. Now it displays ALL entries in the system.
It would be initially simple to just take out the offending line, but I want to code all contact pages with every possibility so as staffing changes, I don’t manually have to add it or remove the category_in codes on each contact page.
Can you help so the code produces nothing–no text, no entries–if there are no entries in the categories_in?
11/06/2013 at 9:24 pm #273132Steven Zahm
Keymaster@ Stephanie
That’s a bug that was fixed in version 0.7.6.5 released back in April, you’ll need to update.
If you you do update, you will also need to update cMap since you are using it on the same page multiple times. The reason is the template API has been extensively overhauled. I did maintain nearly 100% backward compatibility with the older version of cMap, but using it on the same page multiple times did break.
The update to cMap is free and can be downloaded from you Purchase History. Please follow the update/installation instructions carefully as the method used to install templates has changed.
You can use CSS to hide the no results message.
I hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
