[thelist] php help with drupal menu

Matt Warden mwarden at gmail.com
Sat Mar 24 18:42:02 CDT 2007


On 3/24/07, Tom Dell'Aringa <pixelmech at gmail.com> wrote:
> > Yes. However, according to the docs, you must set the last parameter
> > to the literal TRUE, whereas currently it is based on some boolean
> > calculation, the result of which is stored in $html.
>
> Hmm...close. The output is now
>
> <li><span
> ><a href=""
> >&lt;span&gt;Bible Studies&lt;/span&gt;</a></
> span></li>
>
>
> Here's the altered line:
>
> $output .= l('<span>'.$link['title'].'</span>',
> $link['href'], $link['attributes'], $link['query'],
> '<span>'.$link['fragment'], TRUE, $html);
>
> Literal it is...

As I mentioned in my last email, the last param must be set to TRUE.
Set it to TRUE and you'll get what you want (minus that extraneous
span around the link as well).

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


This email proudly and graciously contributes to entropy.



More information about the thelist mailing list