GetSimple Support Forum
Problema with menu_master() - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Problema with menu_master() (/showthread.php?tid=626)



Problema with menu_master() - cumbe - 2010-04-13

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


Problema with menu_master() - Zegnåt - 2010-04-13

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.


Problema with menu_master() - cumbe - 2010-04-13

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.