Greetings from Berlin,
Is there any way to have custom fields belonging to main-menu items or secondary menu items, f.e. to be able to show a subtitle?
I wonder why I can't find the right point to start from for overwriting themable functions from menu.inc in my template.php successfully, to create a completely other html output of each menu item. That would make me able to use the description field as a custom field for a subtitle as a work-around. By reading thru' D7 documentation and API ref I see all the functions and how they work, but there is no line declaring the html parts of the output?
Most of the themable functions I found for menu doesn't include the 'html'.$php.'html' line of code to declare the html output for the $menu vars. And last but not least it seems to be for other menus only, not for main-menu.
Where is the line of code in core, that generates this <li><a href="link" title="description">link</a></li>
thingy in the main-menu? I can't find it in menu.inc of my fresh D7 dev installation ...
I would love to have a second line of text under each menu item in a horizonal primary menu. And I thought a work-around would be to use the description field from menu administration "add link" or "edit link" twice in output (which shows up as title="" attribute in the <a href>
- tag).