<?php if (defined('ELXIS_CATID') && (ELXIS_CATID == 5)) { $eDoc->modules('positionx', 'none'); }?>
We did some improvements and fixes related to menus but we haven't yet released an updated version.
What ever you want to do in Elxis 4.x there is surely more than 1 way to do it. You now think with the 2009.x way of doing things. Elxis 4.x has more options. I will show you a quick example.
private function getParams() { $elxis = eFactory::getElxis(); if (defined('ELXIS_CATID')){ $this->idimage = 'cat'.CATID.'.jpg'; } ............................ ............................
/***************************/ /* GET TEMPLATE PARAMETERS */ /***************************/ private function getParams() { $elxis = eFactory::getElxis(); $this->process = true; if ($this->apc == true) { $data = elxisAPC::fetch('params', 'tplapplestyle'); if ($data !== false) { $this->tplparams = $data; $this->process = false; } } if (defined('ELXIS_ARTID')){ $this->idimage = 'art'.ELXIS_ARTID.'.jpg'; } else if (defined('ELXIS_CATID')){ $this->idimage = 'cat'.ELXIS_CATID.'.jpg'; } else { $this->idimage = 'none_image.jpg'; } .......................................................... ..........................................................