Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problema with menu_master()
#1
Hello;
I have installed Zegnåt’s multi-level navigation. (Thanks Zegnåt’s by you work!!!)
I have this problem:
Quote:Warning: Missing argument 1 for menu_master(), called in .../theme/Cardinal/template_entrar.php on line 35 and defined in /.../plugins/zegnat-multilevelmenu.php on line 74
and I do not know because it happens.

I have used this function other time, and i have not had this problem. Normally i´m writing the following in the template:
Code:
<ul id="subnav">
                            <?php menu_master(); ?>
            </ul>

but now i have this problem....

Regards
Reply
#2
Please redownload the plugin, I thought I fixed that error. Other than that, even with that warning, the plugin should work without problems.

Please note that menu_master() creates an UL-element for you, so you don’t need it in the template around the function.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#3
Thanks again.
I download again the plugin and all ok...

Quote:Please note that menu_master() creates an UL-element for you, so you don’t need it in the template around the function.
SmileSmile modified and solved...

Regards.
Reply




Users browsing this thread: 1 Guest(s)