Closed (fixed)
Project:
Megamenu
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
27 Oct 2010 at 20:26 UTC
Updated:
15 Feb 2011 at 03:20 UTC
Jump to comment: Most recent
This patch renames the megamenu_theme_menu_tree function to theme_megamenu_menu_tree and adds a reference to it in the megamenu_theme function. This allows the megamenu _menu_tree function to be overwritten by a theme's template.php file.
Setting up support for tpl files would be better, but this does the job, allowing themers to modify output without changing the module files.
| Comment | File | Size | Author |
|---|---|---|---|
| mm_themable.patch | 1.17 KB | ezra |
Comments
Comment #1
kanani commentedThat's awesome. i had to hack some stuff together for a current site with the plan to port it back in as a proper patch.
Looks like your a long way there.
thanks.
Comment #2
Anonymous (not verified) commentedComment #3
Anonymous (not verified) commentedCommitted to 6.x-2.x-dev in #492846