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.6.4, enhanced categories, extension, getCategoryBlock(), permalink
- This topic has 7 replies, 2 voices, and was last updated 5 years, 11 months ago by
David Devillard.
-
AuthorPosts
-
04/13/2017 at 7:30 am #419926
David Devillard
ParticipantHi,
I’d like to add tags on entries to have a second way to filter entries on personal interests.I know this in not currently possible with tags but could I have a way with categories? I’m using categories for the company departments.
I thought to create a new parent category (i.e.Personal) and add all the different personal interests as sub categories.But I would have to display these subcategories at the bottom of the entries. Could it be possible with custom fields?
More, I don’t ant to display these categories in the drop down menu of the main page.
It seems to be complicated but what do you think of this,Best,
David04/13/2017 at 9:07 am #419927David Devillard
ParticipantI just discover your Hobbies plugin. It seems it’s close to what I need.
I tested it but I don’t understand everything and I didn’t find docs on it.- How can change (delete, add) hobbies in your list (this one is very long but doesn’t correspond to my needs – And I need to add hobbies in french)?
- I’d like to have link on each hobby to filter and display all entries having this hobby (like a tag with posts).
- I don’t use sidebar in my website. Is there way to add this widget at the bottom of the entries (after the Notes field)?
Best,
David
04/13/2017 at 11:18 am #419954Steven Zahm
Keymaster@ David
re: I’d like to add tags on entries to have a second way to filter entries on personal interests.
Take a look at this site, the “Find A Therapist” section:
This is an advanced search… which when installed and configured allow user to filter by multiple categories. For example, it could be setup on your site to allow user to search by the categories and Personal category children. Would this be a workable solution?
re: How can change (delete, add) hobbies in your list (this one is very long but doesn’t correspond to my needs – And I need to add hobbies in french)?
Probably the best way would be add/remove them via PHP using a filter. It rather technical if you do not know PHP.
re: I’d like to have link on each hobby to filter and display all entries having this hobby (like a tag with posts).
These are saved as metadata, not tags or category so there is no real good way to sort and filter by them.
re: I don’t use sidebar in my website. Is there way to add this widget at the bottom of the entries (after the Notes field)?
Navigate to the Connections : Settings admin page and click the Display tab. Scroll down to the Single Entry Content Block section and enable the Hobbies option. The hobbies will now be displayed on the single entry page after the notes or map if there is one.
Hope I have fully answered your questions!
04/13/2017 at 11:37 am #419959David Devillard
ParticipantSteven,
Thanks for all these answers!
I was not clear (once again, sorry I’m not english native). I don’t want to display an advanced search like in scit.org (great job!).
I want to display personal category at the bottom of single entry (just like hobbies when correctly used :o) ), make them clickable to display a page with all entries corresponding to this personal category. Just like tag you can click on in a post.
Your answer make me think Hobbies is not the solution for me.
But may be a parent category with subcategory if it could be displayed only in single entry pages (like tags) and not in the main category menu.
But I think it’s too complicate…04/13/2017 at 12:11 pm #419962Steven Zahm
Keymaster@ Steven
Ok, I understand better now. What you want to do is possible but would require some custom code to accomplish.
Open the
card-single.php
file found here:
../wp-content/plugins/connections-gridder/
Add this line of code on line
106
:$entry->getCategoryBlock( array( 'child_of' => x ) );
x
in the line of code must be replaced with the Connections category ID you want to display the children of. In your case the Person category.This will list the categories, but they will not be links. For that you will need the Enhanced Categories extension.
Hope this helps!
ps. if you decide to do this code change, it is highly recommended to use a custom template override file to make the cahnge update safe.
04/13/2017 at 12:46 pm #419965David Devillard
ParticipantPerfect!!! It works fine with this code.
I will buy the extension to handle the links.Just one last thing. The parent category and the child ones now appear in the category menu (the one in the main Grid page). Is it possible to delete them from the menu?
04/13/2017 at 1:47 pm #419969Steven Zahm
Keymaster@ David
Hmmm… you can try the exclude_category shortcode option. That will definitely remove them from the category drop down but I think it will cause you trouble when you attempt to filter by category, clicking one of the Personal categories when they are links. More importantly, you should not really use the category permalinks like the ones the Enhanced Categories adds. So I would suggest turning the drop down back off and use the Category link list or image in in Enhanced Categories instead.
04/14/2017 at 4:50 am #420003David Devillard
ParticipantI’ll try this way.
Thanks for your support. -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.