VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: AH on September 01, 2014, 16:56:04 PM

Title: 2.6.8.b Shopper admin button layout change to prevent accidental deletion
Post by: AH on September 01, 2014, 16:56:04 PM
Please can we cahnge the order and layout of the header buttons in the shopper admin

administrator\components\com_virtuemart\views\user\view.html.php

The delete and edit buttons are too close


  JToolBarHelper::editListX(); //moved quorvia
            JToolBarHelper::spacer('50'); // new spacer quorvia
            JToolBarHelper::divider();  //new divider quorvia
            JToolBarHelper::custom('toggle.user_is_vendor.1', 'publish','','COM_VIRTUEMART_USER_ISVENDOR');
            JToolBarHelper::custom('toggle.user_is_vendor.0', 'unpublish','','COM_VIRTUEMART_USER_ISNOTVENDOR');
            JToolBarHelper::divider();
            JToolBarHelper::spacer('50'); // new spacer quorvia
            JToolBarHelper::deleteList();





[attachment cleanup by admin]
Title: Re: 2.6.8.b Shopper admin button layout change to prevent accidental deletion
Post by: Milbo on September 02, 2014, 14:07:52 PM
Done, but different, also for the orders
Title: Re: 2.6.8.b Shopper admin button layout change to prevent accidental deletion
Post by: AH on September 02, 2014, 14:10:54 PM
Thanks, I trust it will help someone not make a simple error - did you see the post for the order admin as well - similar potential problem

Of course it has to be different - lol    :o
Title: Re: 2.6.8.b Shopper admin button layout change to prevent accidental deletion
Post by: AH on September 02, 2014, 22:44:29 PM
2.6.8.c

now with extra spacing - nice  8)