Your version of the file should go in the same place that it did in the default structure.
So if the original file is XLite\View\Controller and you want to decorate this class, and your module is in classes\XLite\DevID\ModuleName
Then your file would go in classes\XLite\DevID\ModuleName\View\Controller.php and it would contain the following:
Code:
<?php
namespace XLite\DevID\ModuleName\View;
/**
* Controller main widget
*/
class Controller extends \XLite\View\Controller implements \XLite\Base\IDecorator
{
/**
* Define the pages where first sidebar will be hidden.
* By default we hide it on:
* product page,
* cart page,
* checkout page
* checkout success (invoice) page
* payment page
*
* @return array
*/
protected static function getSidebarFirstHiddenTargets()
{
return array(
'cart',
/*'product', Commented out to allow sidebar on product page */
'checkout',
'checkoutPayment',
'checkoutSuccess',
);
}
}