how to show links inside a block function custom_block_view($delta = '') {
$brands = $brand-&gt;getChildrenCategories();
      foreach ($brands as $node) { #print_r($node);
        $items[] = array(
            'data' =&gt; t($url = Mage::getUrl($brand-&gt;getUrlPath()).'.html')
            #'data' =&gt; t($node['name'])
        );
      }

$block['content'] .= theme('item_list', array(
          'items' =&gt; $items
              ));

    }


I use this code to display items in a block. I want this to be a link but was not able to achieve it. The output is shown below:
You need to use the l() function in place of t() (which is a string translation function):

$url = Mage::getUrl($brand-&gt;getUrlPath()).'.html';
$link = l('Link Title', $url);


If the URL is external you'll also want to provide that information in the $options parameter:

$link = l('Link Title', $url, array('external' =&gt; TRUE));