[thelist] php help with drupal menu

Tom Dell'Aringa pixelmech at gmail.com
Thu Mar 22 14:54:05 CDT 2007


On 3/22/07, Matt Warden <mwarden at gmail.com> wrote:
>
> >  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.


Right now I am coming up empty on finding the actual function. I may have to
grab a base install and unzip and search for it. In the meantime I will give
your guess a shot first and see how it goes. Thanks! I'll post back what
happens.

Tom



More information about the thelist mailing list