Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
Hi, Please could you advise how to remove the category drop-down selector option from the create new event page.
I tried deleting all categories from the jomsocial back-end, but get the following errors on the create new event page:
Warning: Invalid argument supplied for foreach() in /var/sites/t/domain/public_html/components/com_community/helpers/category.php on line 28
Warning: Invalid argument supplied for foreach() in /var/sites/t/domain/public_html/components/com_community/helpers/category.php on line 130
Warning: array_map(): Argument #2 should be an array in /var/sites/t/domain/public_html/components/com_community/helpers/category.php on line 135
Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /var/sites/t/domain/public_html/components/com_community/helpers/category.php on line 135
Warning: array_unshift() expects parameter 1 to be array, null given in /var/sites/t/domain/public_html/components/com_community/helpers/category.php on line 141
Warning: Invalid argument supplied for foreach() in /var/sites/t/domain/public_html/libraries/cms/html/select.php on line 589
I don't think you can remove all categories and expect JomSocial Events to work. Try to define one category (default) and just hide drop down with css. That should do the trick. Of course, category will be displayed on other places so maybe define only one category that has ambiguous name like Public or MySite (name of the site) or something similar?