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.5.14, code snippet, installation
- This topic has 2 replies, 2 voices, and was last updated 7 years, 7 months ago by
David McCarthy.
-
AuthorPosts
-
04/19/2016 at 5:19 am #373294
David McCarthy
GuestGood morning Steven.
I now have Connections installed and running with a couple of test entries. The site is a ‘society’ site with a private are for members … where there needs to be three directories.
There will be no self-added entries, the directories being managed by a website administrator.
When adding a new entry there are some sections which won’t be needed (either image or logo, Messenger IDs) and some defaults … all entries will be ‘Organisations’, and all details would be ‘work’ rather than home or something else.
Is there a way (or extension) which can hide/turn off the unwanted sections, and hide the non-‘work’ options … or at least make the ‘work’ options the defaults?
Lastly, I looked at the option to ‘customise’ a template … it just takes me to the WP customisation of the Home Page (I’m using Headway Themes … does that make a difference?). Is there another way to customise the templates?
Many thanks, David
04/19/2016 at 10:53 am #373339Steven Zahm
Keymaster@ David
re: When adding a new entry there are some sections which won’t be needed (either image or logo, Messenger IDs)
To hide fieldsets use the Screen Options.
re: all entries will be ‘Organisations’
Install the Code Snippets plugin and add a new snippet with the following code.
function cn_default_entry_type( $atts ) { $atts['default']['type'] = 'organization'; return $atts; } add_filter( 'cn_metabox_publish_atts', 'cn_default_entry_type', 11 );
Save and Activate the snippet.
re: all details would be ‘work’ rather than home or something else.
Add a new Code Snippet with the following code:
function cn_change_address_types_order( $options ) { $options = array ( 'work' => $options['work'] ) + $options; return $options; } add_filter( 'cn_address_options', 'cn_change_address_types_order' ); function cn_change_phone_types_order( $options ) { $options = array ( 'workphone' => $options['workphone'] ) + $options; return $options; } add_filter( 'cn_phone_options', 'cn_change_phone_types_order' ); function cn_change_email_types_order( $options ) { $options = array ( 'work' => $options['work'] ) + $options; return $options; } add_filter( 'cn_email_options', 'cn_change_email_types_order' );
re: Lastly, I looked at the option to ‘customise’ a template … it just takes me to the WP customisation of the Home Page
Make sure the directory home page is correctly set. Make sure the
[connections]
shortcode is the only page contents on the page set as the directory home page.Hope that helps!
04/19/2016 at 10:58 am #373340David McCarthy
GuestMany thanks for the quick feedback.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.