I have a Joomla site that I am working on, building some custom modules to control content.
I am using a menuitem field type:
<field type="menuitem" name="loc_nav_item" label="Link URL" ></field>
And then echoing out:
<a href="<?php echo $params->get('loc_nav_item');"></a>
However, even though I have SEF urls active and working on the site, this creates a url based on the ID like this:
<a href="/101"></a>
I am relatively knew to Joomla, even more so with custom module creating. Is there something I am missing here that will allow the module to generate the proper, SEF url?
Joomla 1.7 (required by client...)