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: default choices
- This topic has 7 replies, 4 voices, and was last updated 7 years, 2 months ago by
Steven Zahm.
-
AuthorPosts
-
01/26/2013 at 10:38 pm #249920
David Pfiffner
ParticipantUnless I am missing it, It would really be helpful to be allowed to set the default choices when adding new entries to be able to have selected by default the following:
Default choice to be (eg) Organization, instead of individial
Default choices for phone number to be something else, like “Work” or a choice not to even display the title of the number and just have the number displayed without having the titles “home phone” or “work phone” etc.
Default choice to make all new entries made “public” instead of unlisted.
I am having to add multiple entries, hundreds, and it is getting annoying having to select “public” everytime to make it visible, as well as selecting “organization” everytime I am adding a new entry.
05/25/2013 at 6:26 am #260885PatriciaB
ParticipantI am having this same issue. Is there a way to change the default choice on all new entries to “public” instead of unlisted.
Thanks!05/25/2013 at 6:43 am #260886PatriciaB
ParticipantThis is a work around.
It’s never good to alter the core templates but when adding a new entry, to change the default “unlisted” publishing type to “public” I altered the file in connections/includes/class.form.php line 787. Change “unlisted” to “public”.I still would really like to remove the default “uncategorized” option entirely and have only my created category as the default category so that people don’t have to select a category at all. But his may involve too much editing of core files. Can someone from Connections please advise.
Thanks.
05/25/2013 at 6:53 am #260887PatriciaB
ParticipantOK – I found the answer to changing the default “uncategorized”. I completely missed this! I changed the name of “uncategorized” to my required category name by going to the category and changing the details – too simple!. Deleted all other categories and by default now all members are listed in the category name I created. Thanks Connections for making it easy.
09/18/2013 at 1:27 am #269426trmash
GuestHi, I’m with David Pfiffner – is there any way (be it within the settings, or functions.php – just not the plugin code itself) to change the defaults?
It would be ideal for the default Organization, and Public.
Even better would be if selecting Organization meant that addresses and numbers defaulted to ‘Work’ – but realistically, I’d be happy with choosing the basic default options. ;)
Whenever I’ve had to add a large number of entries, I’ve updated the code within the plugin to make Organization the default – but obviously this isn’t ideal.
Fingers crossed it’s an easy fix, or something I’ve overlooked. Thanks!
09/18/2013 at 11:58 am #269466Steven Zahm
Keymaster@ trmash
It’s on the todo list. Maybe the next release. Not sure if I want to add settings or just a filter that can be hooked into by dropping a function in the functions.php file. Maybe do both… I’ll see…
03/18/2016 at 1:34 pm #369679David Pfiffner
ParticipantWell it has been a few years since I first made the suggestion and several other people also liked the idea. You finally had replied to the idea about 9 months after I first posted about it. I am just now going back to trying to use your plugin after all these years as there was still not enough reason for my client to want to use it. Too many missing features, especially including the one I sugguested above.
Am I missing it or did you ever finally add this feature, because I sure don’t see default options as outlined in my post and @trmash post.
03/18/2016 at 2:00 pm #369690Steven Zahm
Keymaster@ David
In regards to your initial post…
re: Default choice to be (eg) Organization, instead of individial
There is not a setting to change this but it can be done via a filter. Outside of these few requests over the years there is not many asking for this. Here’s how to do this with a filter:
Install the Code Snippets plugin. It is a far, far, better option that adding code to the theme’s functions.php file. Consider what would happen when the theme is updated and that file is overwritten or you decide at some point to switch themes :)
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 new snippet.
re: Default choices for phone number to be something else, like “Work”
This too can be done with a filter. See this forum post for the details.
re: a choice not to even display the title of the number and just have the number displayed without having the titles “home phone” or “work phone” etc.
This can be done very easily using the Template Customizer feature in cMap 5 and newer.
re: Default choice to make all new entries made “public” instead of unlisted.
Default for entry visibility is now “Public” instead of “Unlisted”
Hope that addresses everything thoroughly,
-
AuthorPosts
You must be logged in to reply to this topic.