I want to create a Joomla menu from scratch myself!
I studied a bit about the Joomla API, I know I should use Jmenu,but when I use:
<?php $M=Jmenu::load(); echo $M;?>
it returns some errors:
Notice: Array to string conversion in K:\xampp\htdocs\mag2\templates\mymagazine4\index.php on line 7 Array
or print nothing.
this is link Jmenu Jmenu -
How should I use it to show a menu???
thanks for reply