newbie LAC Posted June 23, 2017 Posted June 23, 2017 Hello, system/Content/Content.php /** * @brief [Content\Item] Include this content type in user profiles */ public static $includeInUserProfiles = TRUE; How this should work? I think this should hide a tab in user profile and exclude items or comments or reviews from activity. But this works with items only. Partly. Hide all tabs only. Example I created new event, added comment and review I want to hide Event Comments tab and exclude event comments. I added in applications/calendar/sources/Event/Comment.php /** * @brief [Content\Item] Include this content type in user profiles */ public static $includeInUserProfiles = false; Result I have reverted the changes. Now I want to hide Events tab and exclude events. I added in applications/calendar/sources/Event.php /** * @brief [Content\Item] Include this content type in user profiles */ public static $includeInUserProfiles = false; Result
bfarber Posted June 23, 2017 Posted June 23, 2017 Right now it applies to a content item and that content items children (comments/reviews), and does not affect the all activity view. I've raised this internally, however, to see if we can make improvements to the code based on your feedback.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.