Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Additional menu in opencart?

Status
Not open for further replies.
Joined
Jan 11, 2007
Posts
5,065
Reaction score
106
I haven't received a reply on the OC site so I thought I would post here in case anyone is familiar:


I'm working on a site which needs an additional menu (I have already used the "category" menu).

The menu will be used sitewide but is displayed differently on the homepage. I have already coded it into the homepage template but I'm not sure how to put it on the other pages?

It would sit in "top content" but I don't know the best way to do it.

Any help would be much appreciated.
 
Quick & dirty hack would be a vqmod to add the code to the catalog > controller > common > content_top controller.

after:
Code:
	$this->data['modules'] = array();

Insert the menu code block and then add to the data['modules'][] array

Code:
$menu = ...
$this->data['modules'][] = $menu;

content_top view will output it as the top module block.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

Latest Comments

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom