View Single Post
  #1  
Old 04-06-2015, 06:36 AM
 
skit skit is offline
 

Advanced Member
  
Join Date: Feb 2015
Posts: 40
 

Default ShopByBrand module change

I have installed the ShopByBrand module and everything is working. But, i wanted to change the breadcrums to say "Manufactures" not "Brands."

I found the file that is controlling that to be classes>XLite>Module>QSL>ShopByBrand>View>Location >Node>Brands.php

I have created a file under my custom module XLite\Module\<mymodule>\<mymoduledesign>\View

And entered the follwoing code

Code:
namespace XLite\Module\<mymodule>\<mymoduledesign>\View; /** * Home node */ //class Brands extends \XLite\Module\QSL\ShopByBrand\View\Location\Node implements \XLite\Base\IDecorator class Brands extends \XLite\Module\QSL\ShopByBrand\View\Location\Node implements \XLite\Base\IDecorator { /** * Define widget parameters * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams[self::PARAM_NAME]->setValue('Manufacturers'); $this->widgetParams[self::PARAM_LINK]->setValue($this->buildURL('brands')); } }

I can't get it to change on my custom module code. What should i be looking at?

Thanks in advance.
__________________
V5.2.13
Reply With Quote