[thelist] php help with drupal menu

Matt Warden mwarden at gmail.com
Thu Mar 22 14:48:30 CDT 2007


On 3/22/07, Tom Dell'Aringa <pixelmech at gmail.com> wrote:
> Okay, I found the include where the l() function is referred to. I read it,
> can't say I quite get it. It is referred to in the comments of the
> menu_get_menu() function. You can view the include at
>
>  http://www.pixelmech.com/rev/menu.txt
>

It would be more helpful if we could see the actual function
signature, i.e. the line that says:

function l(...)
{
...
}

However, my guess based on this:

l($item['title'], $item['path'], array('title' => $item['description']))

Is that you can simply include the span HTML in the first argument, like this:

l('<span>'.$item['title'].'</span>', $item['path'], array('title' =>
$item['description']))

Just a guess, though. Would need to see the function itself to confirm.

-- 
Matt Warden
Cleveland, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.



More information about the thelist mailing list