On 7-Oct-09, at 11:13 AM, Angelo Chen wrote:
$action->menuItem('http://www.google.com/', _('Google'), _ ('Search engine')); above code into config.php, but this is just a text link, i want a image with link, i try to use ('<img>pic path</img>') instead ('Google'),but it seems not working. can anyone can help with this? tks.
Try using $action->raw('The Text') instead of menuItem. This will put the raw HTML into the output directly. Also, one could use the actual XML tag functions, like$action->element('img', array('src'=>'thePictureLocation', 'alt'=>'SomePicture'));
_______________________________________________ StatusNet-dev mailing list StatusNet-dev@lists.status.net http://lists.status.net/mailman/listinfo/statusnet-dev