* Hide the level 2.5 navigator of a none-product project.
This commit is contained in:
@@ -425,9 +425,12 @@ class designModel extends model
|
||||
if($this->app->rawMethod == 'browse') $this->lang->waterfall->menu->design['subMenu']->bysearch = array('link' => '<a href="javascript:;" class="querybox-toggle"><i class="icon-search icon"></i> ' . $this->lang->searchAB . '</a>');
|
||||
|
||||
if(empty($products) || !$productID) return '';
|
||||
$currentProduct = $this->loadModel('product')->getById($productID);
|
||||
|
||||
setCookie("lastProduct", $productID, $this->config->cookieLife, $this->config->webRoot, '', false, true);
|
||||
|
||||
$currentProduct = $this->loadModel('product')->getById($productID);
|
||||
if(!empty($currentProduct->shadow)) return '';
|
||||
|
||||
$output = '';
|
||||
if(!empty($products))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user