title: How to use getUrl() in Magento to refer to another module?
body: <p>My module in Magento adminpanel has URL like as <a href="http://example.com/index.php/mymodule/" rel="nofollow">http://example.com/index.php/mymodule/</a>... and contains custom grid with the orders. I want to redirect user to the standard "Order view" page when he clicks on a grid row.</p>
  
  <pre><code>public function getRowUrl($row)
  {
      if (Mage::getSingleton('admin/session')-&gt;isAllowed('sales/order/actions/view')) {
          return $this-&gt;getUrl('sales_order/view', array('order_id' =&gt; $row-&gt;getId()));
      }
      return false;
  }
  </code></pre>
  
  <p>But this URL points to <a href="http://example.com/index.php/sales_order/view/" rel="nofollow">http://example.com/index.php/sales_order/view/</a>... instead of <a href="http://example.com/index.php/" rel="nofollow">http://example.com/index.php/</a><strong>admin</strong>/sales_order/view/... Any suggestion?</p>
  
  <p>UPD. <em>config.xml</em>:</p>
  
  <pre><code>&lt;admin&gt;
      &lt;routers&gt;
          &lt;mymodule&gt;
              &lt;use&gt;admin&lt;/use&gt;
              &lt;args&gt;
                  &lt;module&gt;Foo_Mymodule&lt;/module&gt;
                  &lt;frontName&gt;mymodule&lt;/frontName&gt;
              &lt;/args&gt;
          &lt;/mymodule&gt;
      &lt;/routers&gt;
  &lt;/admin&gt;
  </code></pre>