/**
  * Assign template vars related to page content.
  *
  * @see FrontController::initContent()
  */
 public function initContent()
 {
     if (Configuration::get('PS_DISPLAY_SUPPLIERS')) {
         parent::initContent();
         if (Validate::isLoadedObject($this->manufacturer) && $this->manufacturer->active && $this->manufacturer->isAssociatedToShop()) {
             $this->assignManufacturer();
             $this->label = $this->trans('List of products by manufacturer %s', array($this->manufacturer->name), 'Shop.Theme.Catalog');
             $this->doProductSearch('catalog/listing/manufacturer', array('entity' => 'manufacturer', 'id' => $this->manufacturer->id));
         } else {
             $this->assignAll();
             $this->label = $this->trans('List of all manufacturers', array(), 'Shop.Theme.Catalog');
             $this->setTemplate('catalog/manufacturers', array('entity' => 'manufacturers'));
         }
     } else {
         $this->redirect_after = '404';
         $this->redirect();
     }
 }