Jump to content

Dynamic Left Menu


Recommended Posts

Hi there,

I'm trying to modify the "blockcategories.php" in the blockcategories module that usually show first level categories. I've a top horizontal menu for the first level categories now, and I'm trying to make the left-hand menu dynamic so it can show sub-items of each top menu.

Below the line that create the menu, with static current ID page. I need to get on each page the first level category ID instead of '8'.

$currentIdPage = 8;
$blockCategTree = $this->getTree($resultParents, $resultIds, Configuration::get('BLOCK_CATEG_MAX_DEPTH'), $currentIdPage);



I'm sure it's really basic tip but I can't get it... :/

Thanks in advance,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...