public function init() { parent::init(); $this->view->headLink()->appendStylesheet(CST_Server_ServerStatic::getUrl() . '/css/productos.css'); /* Initialize action controller here */ $filter = new CST_Filter_SeoUrl(); $this->view->breadcrumbs = 'Buscar » ' . $this->_getParam('slugBusqueda', ''); }
public function init() { parent::init(); $this->view->headLink()->appendStylesheet(CST_Server_ServerStatic::getUrl() . '/css/productos.css'); $this->view->headScript()->appendFile(CST_Server_ServerStatic::getUrl() . '/scripts/producto.js'); $this->view->params = $this->getRequest()->getParams(); $this->view->listaMarcas = Application_Entity_Marca::listarMarcaSociadasProducto(5); $this->view->slugMarca = $this->_getParam('marca', ''); }
public function indexAction() { $this->view->headLink()->appendStylesheet(CST_Server_ServerStatic::getUrl() . '/css/soporte.css'); $form = new Application_Form_Contactenos(); $this->view->flashMessenger = $this->_flashMessenger->getMessages(); if ($this->_request->isPost()) { if ($form->isValid($this->_getAllParams())) { $this->_flashMessenger->addMessage('La consulta se registro correctamente: En breve nos estaremos poniendo en contacto con usted Gracias!'); $this->_redirect('/contactenos'); } else { $this->_flashMessenger->addMessage('Corriga los datos'); } } $this->view->form = $form; }
static function gethtmlPages($page, $nivel = 1, $class = '') { $html = ''; $count = $nivel; $classNivel = 'menuNivel' . $nivel; $style = ''; if ($nivel > 1 && $class != 'MenuSectionArea') { $style = ' Style ="display:none;" '; } $html .= "<ul class='" . $classNivel . "' {$style}>\n"; foreach ($page as $subpage) { if ($subpage->_class == '') { $html .= "<li>\n"; } else { $html .= "<li class='" . $subpage->_class . "'>\n"; } if ($subpage->_class == 'MenuSectionArea') { $clashref = 'MenuSectionAreaHref'; } else { $clashref = ''; } if ($subpage->isActive()) { $html .= "<a href='" . $subpage->getHref() . "' class='selected {$clashref}'>" . $subpage->getLabel() . "</a>\n"; } else { $html .= "<a class='{$clashref}' href='" . $subpage->getHref() . "'>" . $subpage->getLabel() . "</a>\n"; } if (!empty($subpage->pages)) { $count++; $html .= self::gethtmlPages($subpage->pages, $count, $subpage->_class); } $html .= "</li>\n"; if ($nivel == 1) { $html .= '<li><img src="' . CST_Server_ServerStatic::getUrl() . '/images/nav_item_split.jpg" alt="nav separator" /></li>' . "\n"; } } $html .= "</ul>\n"; return $html; }
public function indexAction() { $this->view->headLink()->appendStylesheet(CST_Server_ServerStatic::getUrl() . '/css/marcas.css'); $this->view->listaMarcas = Application_Entity_Marca::listarMarcasAsociadasProductoDestacados(); }
public function init() { parent::init(); $this->view->headLink()->appendStylesheet(CST_Server_ServerStatic::getUrl() . '/css/cotizacion.css'); }