Quote:
Originally Posted by totaltec
I was able to get my hands on a copy of the Brands module.
In Module/QSL/ShopByBrand/View/Brand.php I see this method:
Code:
/**
* Brand page view
*
* @ListChild (list="admin.center", zone="admin")
*/
class Brand extends \XLite\View\AView
{
/**
* Return list of allowed targets
*
* @return array
*/
public static function getAllowedTargets()
{
return array_merge(parent::getAllowedTargets(), array('brand'));
}
this is the method I would override in my decorator. It may be other places, this is just the first I found.
|
Ahhhh, thank you! I will try that shortly. I'm pretty sure that's what i need though. I saw this function early on in my search, but I hadn't figured out I was looking for targets yet.. its much more relevant now
