News:

Looking for documentation? Take a look on our wiki

Main Menu

how to remove VM admin icons?

Started by diogoac, April 15, 2012, 02:26:49 AM

Previous topic - Next topic

diogoac

Hello I want to remove the payment methods.. and updates.. so my client can use it..

he will probably make a mess if see that is available...

what can I do that?

thanks

[attachment cleanup by admin]

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

diogoac

I use this module and it works.. but it's for joomla admin cpanel.

Im asking to VM admin cpanel.. I want to remove some icons so my client can't access them.. so what can I do?

thanks

diogoac

Already figure it out.. for who needs this in the future go to: http://ursite.com/administrator/components/com_virtuemart/views/virtuemart/tmpl/default_controlpanel.php

Ands remove what u dont need ;)

Quote
<div id="cpanel">

   <div class="icon"><?php VmImage::displayImageButton(JROUTE::_('index.php?option=com_virtuemart&view=product'), 'vm_shop_products_48', JText::_('COM_VIRTUEMART_PRODUCT_S')); ?></div>
   <div class="icon"><?php VmImage::displayImageButton(JROUTE::_('index.php?option=com_virtuemart&view=category'), 'vm_shop_categories_48', JText::_('COM_VIRTUEMART_CATEGORY_S')); ?></div>
   <div class="icon"><?php VmImage::displayImageButton(JROUTE::_('index.php?option=com_virtuemart&view=orders'), 'vm_shop_orders_48', JText::_('COM_VIRTUEMART_ORDER_S')); ?></div>
   <div class="icon"><?php VmImage::displayImageButton(JROUTE::_('index.php?option=com_virtuemart&view=user'), 'vm_shop_users_48', JText::_('COM_VIRTUEMART_USER_S')); ?></div>
   <div class="icon"><?php VmImage::displayImageButton(JROUTE::_('index.php?option=com_virtuemart&view=user&task=editshop'), 'vm_shop_mart_48', JText::_('COM_VIRTUEMART_STORE')); ?></div>

<div class="clear"></div>