View Single Post
  #1  
Old 06-02-2014, 07:08 AM
 
Gabone Gabone is offline
 

Advanced Member
  
Join Date: May 2014
Location: Bucharest
Posts: 37
 

Default quick question (changing year in the Powered By widget)

hy,i use custom skin to create an custom design.
Now,if i wanna change the content of protected function getCompanyYear() from \XLite\View\PoweredBy.php all i need to do is to copy \XLite\View\PoweredBy.php to XLite\Module\XC\CustomSkin\View and fill with this ?
PHP Code:
namespace XLite\Module\XC\CustomSkin\View;

class 
PoweredBy extends \XLite\View\PoweredBy
{
    protected function 
getCompanyYear()
    {
        return 
'2000';
    }

__________________
xcart 5
Reply With Quote