In my module, this code is being used to generate the URL of the page:
JURI::base() . ContentHelperRoute::getArticleRoute( $article->id, $article->catid )
This works exaclty as it should and produces a URL that looks like:
http://example.com/index.php?option=com_content&view=article&id=83&catid=26&Itemid=162
But I would like to know if there is a way to get the module to generate the SEF URL for the current page. Something like:
http://example.com/resources/blog/83-illustration