[thelist] php help with drupal menu
Tom Dell'Aringa
pixelmech at gmail.com
Sat Mar 24 11:26:23 CDT 2007
On 3/23/07, Matt Warden <mwarden at gmail.com> wrote:
>
> On 3/23/07, Tom Dell'Aringa <pixelmech at gmail.com> wrote:
>
> > http://www.pixelmech.com/rev/el.txt <-- has l() function in it.
> >
> > Should I still try how you guessed it?
>
> 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=""><span>Bible Studies</span></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...
More information about the thelist
mailing list