Hello! Is it possible to remove some buttons like "Polls Home", "Videos Home", "Blogs Home" etc etc. I'm not sure where I can remove them. Perhaps I have to do that in phpMyAdmin. I would appreciate if you could help. Thanks :)

|
did u try finding it in the modules |
/templates/base navigation_menu_sub_header.html
<div class="subMenu" id="subMenu___submenu_id__" style="display:__display_value__"> <div class="subMenuOvr">
<table class="subMenuInfoKeeper" cellspacing="0" cellpadding="0"> <tr> <td> __picture__ </td> <td class="sys_page_header"> __sub_caption__ </td> <td style="width:90%;"> <div class="sys_tm_title_addon"> __profile_status__ __login_section__ <div class="clear_both"></div> </div> </td> <td style="width:10px;"></td> </tr> </table>
__profile_actions__ <bx_injection:injection_title_zone /> <div class="clear_both"></div>
remove that line p.s it will remove all 3 buttons
|
Thanks prolaznik!
If i do your way, will it remove all 3 buttons from all page, right? Hmm I prefer to remove all three from polls only. Can that be done?
|
Thanks prolaznik!
If i do your way, will it remove all 3 buttons from all page, right? Hmm I prefer to remove all three from polls only. Can that be done?
yes it would remove all 3 buttons from all modules lol sucks i know i would like to remove the home button from all modules still looking for it will keep u updated :)
|
You can remove them from the database. There is a lot of them so finding the one you want will be a bit tricky. This will help.
Run this query in phpMyAdmin to find only the actions for polls.
SELECT * FROM `sys_objects_actions` WHERE `Caption` regexp('bx_poll')
The ones that show up with a 1 in the bDisplayInSubMenuHeader will be the current buttons. You can remove the ones you want removed.
After removal, as with any manually database change the cache needs to be dealt with. Clear the cache manually, or to be more targeted, remove the cache file specific to the actions which is cache/sys_objects_actions.inc
https://www.deanbassett.com |
You can remove them from the database. There is a lot of them so finding the one you want will be a bit tricky. This will help.
Run this query in phpMyAdmin to find only the actions for polls.
SELECT * FROM `sys_objects_actions` WHERE `Caption` regexp('bx_poll')
The ones that show up with a 1 in the bDisplayInSubMenuHeader will be the current buttons. You can remove the ones you want removed.
After removal, as with any manually database change the cache needs to be dealt with. Clear the cache manually, or to be more targeted, remove the cache file specific to the actions which is cache/sys_objects_actions.inc
got me on this one it's all in sys_objects_actions just like deano92964 sugested in bDisplayInSubMenuHeader change 1 to 0 you can remove any or all buttons in any or in all modules p.s looks nicer without the home button lol don't forget about the junk folder
|
Thanks Deano!!!! That's exactly what i'm looking for. Now I know where to control the buttons. SUPER! :)
You can remove them from the database. There is a lot of them so finding the one you want will be a bit tricky. This will help.
Run this query in phpMyAdmin to find only the actions for polls.
SELECT * FROM `sys_objects_actions` WHERE `Caption` regexp('bx_poll')
The ones that show up with a 1 in the bDisplayInSubMenuHeader will be the current buttons. You can remove the ones you want removed.
After removal, as with any manually database change the cache needs to be dealt with. Clear the cache manually, or to be more targeted, remove the cache file specific to the actions which is cache/sys_objects_actions.inc
@porlaznik yeah they look a lot nicer without those stupid home buttons. :)
|