- Posts: 3
- Thank you received: 0
Remove Dashboard Buttons
11 years 3 months ago #210674
by hika234
Remove Dashboard Buttons was created by hika234
-- url of the page with the problem -- : localhost
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.12
Hi,
Is there a way to remove some of the buttons that display in the Hikashop Admin Dashboard in a way that will survive an update. I do not see a view available in the back end for overriding this. I am referring to the buttons located below the reports area. I would like to remove some of the buttons to prevent my client from messing up the site configuration. I will use access control for the other menu items.
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.12
Hi,
Is there a way to remove some of the buttons that display in the Hikashop Admin Dashboard in a way that will survive an update. I do not see a view available in the back end for overriding this. I am referring to the buttons located below the reports area. I would like to remove some of the buttons to prevent my client from messing up the site configuration. I will use access control for the other menu items.
Please Log in or Create an account to join the conversation.
11 years 3 months ago #210678
by nicolas
Replied by nicolas on topic Remove Dashboard Buttons
Hi,
Yes, that's possible.
Edit the file "cpanel" of the view "dashboard" for your backend template via the menu Display>Views.
There, you can add such code:
after the line:
and that will remove the "Configuration" button.
It will of course survive updates.
Yes, that's possible.
Edit the file "cpanel" of the view "dashboard" for your backend template via the menu Display>Views.
There, you can add such code:
Code:
if($btn['text']=='Configuration') continue;
Code:
foreach($this->buttonList as $btn) {
It will of course survive updates.
The following user(s) said Thank You: hikaphil
Please Log in or Create an account to join the conversation.
Time to create page: 0.046 seconds