Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Peter
RE: it works for a few seconds and then reverts to the old form with title, organization and department displayed.
Hmmm, yeah, I did not think of that. What you are seeing is correct. When the form is loaded and the user does not have a choice, the proper fields will be shown. Not sure this will work either but try this instead:
#cn-form #cn-metabox-section-title, #cn-form #cn-metabox-section-organization, #cn-form #cn-metabox-section-department { display: none !important; }RE: can I lock the Category field to only accept “Member”
Set the default category to the “Member” category. The on the Forms settings tab, uncheck the “Categories” option if the Fieldset section. The entry submissions should default to “Members” without give the user the option to select categories.
Hope that helps!
Steven Zahm
Keymaster@ Steve
RE: Using code snippets would be great too, except I think that would remove the comment throughout that site.
Yes, using the code, as I gave you, in Code Snippets would have made it a global change. By changing the action name from
plugins_loadedtocn_action_list_before-{template-slug}where{template-slug}is the, well, the template slug name. For example,cmap. So the full action name for cMap would becn_action_list_before-cmap.Hope that helps!
Steven Zahm
Keymaster@ dominic
Thanks! I did make the edit.Apologies for the incorrect instructions … new code and I was not thinking of its effect on the admin.
Steven Zahm
Keymaster@ Steve
I’ve not tested, but this should work…
function cn_remove_list_no_result_message() { remove_action( 'cn_list_no_results', array( 'cnTemplatePart', 'noResults' ), 10 ); } add_action( 'plugins_loaded', 'cn_remove_list_no_result_message', 12 );Add it a a new code snippet using the Code snippets plugin.
Hope this helps, let me know.
Steven Zahm
Keymaster@ dominic
You’ve added a custom template file for addresses:
/wp-content/uploads/connections-templates/entry/addresses/address.phpThis file is trying to use a function only available to the frontend. You should rename it to
address-hcard.phpand that should fix it because then the core defaultaddress-admin.phpshould be loaded instead which does not make use of that front end function.Hope that helps, let me know.
Steven Zahm
Keymaster@ Barbra
Sorry, but the Slim Plus template at this point has not been upgraded to use the Template Customizer. The shortcode options are the only method for settings its options (which all the Template Customizer does really).
The ability to show the assigned categories has never been a feature in the Slim Plus template. It can be added but only through the use of custom template override files.
This is not too difficult. I’ve given instruction to another user who wanted the same. It can be found in this reply.
Hope this helps, let me know.
Steven Zahm
Keymaster@ dominic
Ok, odd. Nothing had significantly changed in the last update. To debug further, I’ll need a temp admin login so I can take a close look. The login details can be posted here as a private reply.
Steven Zahm
Keymaster@ Beverly
RE: Can I have the same name for a category in different directories?
Yes, you can a child category under each of the parent categories that have the same name. So, you would add “Education” as a child category under both the parent categories. You would have to edit the entries to make sure they have are assigned to both “Education” categories (assuming that you want the entry to display in both directories under the same “Education” category).
Hope that helps!
Steven Zahm
Keymaster@ Matt
Sorry but there is no easy way to change what is visible in the admin table. To do this would take quite a bit of refactoring its display logic.
Steven Zahm
Keymaster@ dominic
Do you happen to know from which version you upgraded from? Can you install the Query Monitor plugin? It’ll add a new item to the admin bar which will have a section which will have a log of PHP errors, warning and notices. These will give insight as to the cause of the issue. Let me know what is reported.
-
AuthorPosts
