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.3.3, entry actions
- This topic has 4 replies, 3 voices, and was last updated 10 years, 12 months ago by
Scott Stoddard.
-
AuthorPosts
-
08/03/2015 at 4:16 pm #342037
janet field
ParticipantHello-
I would like to move “Go back to directory” and “Add to Address Book” links to the bottom of the single entry page beneath the bio. Is that possible?
Thank you!
08/04/2015 at 10:20 am #342129Steven Zahm
Keymaster@ janet
I’ve never done it, but it should be possible. Here’s how…
Install the Code Snippets plugin.
Add a new snippet with the following code:
add_action( 'cn_list_before_body', 'cn_remove_entry_actions' ); function cn_remove_entry_actions() { remove_action( 'cn_entry_actions', array( 'cnTemplatePart', 'entryActions' ) ); add_action( 'cn_action_entry_actions-after', array( 'cnTemplatePart', 'entryActions' ), 10, 2 ); add_action( 'cn_entry_actions-after', array( 'cnTemplatePart', 'entryActions' ), 10, 2 ); }Save and activate the snippet. The entry actions should now be listed at the bottom.
Hope that helps!
08/24/2015 at 11:28 am #344145Scott Stoddard
Participant08/24/2015 at 12:19 pm #344149Steven Zahm
Keymaster@ Scott
I tested the code, it does move the links to the bottom of the profile/detail view of the entry.
Often when a code snippet fails to work it was not activated (often overlooked, I do that myself). Double check that it is activated.
Another common error is not all the code was not copy/pasted. This would result in non-functioning code. Double check that the code matches exactly.
Last thing… this does not move the links at the top of the results card view it only move the links on the profile/detail view of the entry.
Hope that helps. Let me know.
08/24/2015 at 2:04 pm #344155Scott Stoddard
ParticipantYou were right, it needed to be activated! Thanks a lot!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
