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.
Hello,
I have hidden the toolbar to disable all menu items because I use Jomsocial just to display a well designed user profile with very limited options. But in the member wall in the upper right corner there is a small menu (opens when I click on the sprocket-icon) which offers the setting of the preferences. How can I completely disable or delete this menu item from the menu? Preferably I want to do this with an override to make sure that it does not re-show when I update Jomsocial.
Thanks,
Uwe
ROOT/templates/your-template/html/com_community/layouts/profile (if you don't have those folders - feel free to create them)
Then edit the file, line 226 remove this:
<?php if ($loggedIn) { ?>
<div class="joms-focus__button--options--desktop">
<a href="javascript:" data-ui-object="joms-dropdown-button">
<svg viewBox="0 0 16 16" class="joms-icon">
<use xlink:href="<?php echo CRoute::getURI(); ?>#joms-icon-cog"></use>
</svg>
</a>
<!-- No need to populate menus as it is cloned from mobile version. -->
<ul class="joms-dropdown"></ul>
</div>
<?php } ?>
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you
Hi Michal,
thanks for your quick reply.
This customization removes the whole icon with all menu items. I only want to remove the last menu item "preferences". Could you please check again?
Thanks,
Uwe
Add above code to your current template main css file.
Then clear browser cache and reload page.
Item should be gone.
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you