@ Sam
re: Tags for entries. While the ability to assign a category is nice, the ability to assign multiple tags (the same way you can for regular WordPress posts) is required. I need to be able to allow users to add multiple tags in the “form” and filter the entries in the “market” view column instead of the category filter in place today. Really, I don’t need both tags and categories, so if multiple categories could be assigned, and multiple categories simultaneously selected to filter, that would be sufficient.
With all the work I’ve done in 8.1.7 and for the forthcoming 8.2 release. Adding tag support is finally within reach … long on my todo list. So adding tag support as far as adding and removing to/from and entry would be somewhat easy. But… they would still be a lot of work to do so one could query/filter entries by those tags.
Multiple categories can already be assigned, so you could use them as “tags”. Fun fact, the difference between categories and tags in WP boils down to categories can have a hierarchy and tags can not.
Selecting by multiple categories is possible, just not with Market because it uses a radio input to determine the selected category. This radio list would have to be converted to a checklist with a submit button.
Now, cMap includes this as a built in feature (actually all templates which use a category drop down), although it be a beta feature beta feature. To enable this feature in cMap you would add enable_category_multi_select='true'
to the shortcode.
Now since it is beta… after multiple categories are selected there is not an obvious way to submit the selection. Click the search button will do it. Alternatively you can do this (for cMap):
Install the Code Snippets plugin.
Add a new snippet with the following code:
function cn_cmap_add_submit_button( $atts, $results ) {
if ( $atts['enable_category_multi_select'] && ! get_query_var( 'cn-entry-slug' ) ) {
cnTemplatePart::submit( array( 'return' => FALSE ) );
}
}
add_action( 'cn_action_list_before-cmap', 'cn_cmap_add_submit_button', 99, 2 );
Save and activate the snippet.
This snippet will add a submit button to cMap.
re: Posts associated with entries. I enable visitors to write posts (currently via the Frontier Post plugin) to the site and would like to enable them to associate their posts with one or more Connections entries. Do you have any suggestions / code snippets that would enable me to achieve this?
I assume this still requires the visitors to logging which requires them to have an account on your site, correct? If, so, then you can use the Link and Authored extensions to accomplish this. When the user logs in Link will link their user account to their entry. After the link is created, Authored will display their last five posts on their details page.
Hope that helps! Let me know.