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 14 replies, 3 voices, and was last updated 12 years ago by
Steven Zahm.
-
AuthorPosts
-
07/22/2014 at 11:13 am #297761
Steven Zahm
Keymaster@ JoselinMane
It will work regardless of the user logged in unless the CSS file that this was added to is loaded conditionally based on the user that is logged in. My guess that it is a cache issue. You’re still being served a version of the CSS file which does not have the change. Hitting SHIFT+F5 cleared the Chrome browser cache for me and the department field no longer shows.
07/25/2014 at 8:41 am #297982@JoselinMane
GuestFantastic! Thanks
Now to change the admin side I would have to change these two files:
connections-form/css/cn-form-user.min.css
connections-form/css/cn-form-user.cssright? Both are these two files are labeled inactive.
In the future will it be easier to hide certain field on both the admin side and public side?
07/26/2014 at 9:18 am #298052Steven Zahm
Keymaster@ JoselinMane
Yes, those would be the two files to change for the admin they are only listed as inactive because WordPress only knows about the file that actually loads the plugin into WordPress … it’s a WordPress thing, not a Connections bug.
re: In the future will it be easier to hide certain field on both the admin side and public side?
Form is intended for a plugin and play solution, so I doubt I’ll be transforming it to a “form builder” type of plugin. With that said, I do have a few plans to provide a solution for advanced users/developers in the future.Hope that helps!
07/28/2014 at 8:16 am #298161@JoselinMane
GuestOk.
I added:
div#cn-metabox-section-department {
display: none !important;
}To the end of both files, but it didn’t seem to remove the department section.
I also logged out and relogged in and cleared cache.
Is there a way to change the default entry to organization vs individual? Send me a link to the answer if it has already been answered as I might have missed it.
Thanks
07/28/2014 at 8:43 am #298167Steven Zahm
Keymaster@ JoselinMane
Not sure why the CSS wouldn’t work for you, it works for me… even when I toggle the entry types, it remains not visible.
Yes there is a way to set the default entry type. First, install the Code Snippets plugin.
Add a new snippet with the following code:
function cn_default_entry_type( $atts ) { $atts['default']['type'] = 'organization'; return $atts; } add_filter( 'cn_admin_metabox_publish_atts', 'cn_default_entry_type', 11 );Save and activate the new snippet.
That should do the trick.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
