I am able to get the url based on the menu/alias on the site side:
function onContentAfterDisplay($context,$article)
{
require_once JPATH_SITE . '/components/com_content/helpers/route.php';
$url = parse_url(JURI::root());
$app = JFactory::getApplication();
$app->enqueueMessage($url['scheme'].'://'.$url['host'].JRoute::_(ContentHelperRoute::getArticleRoute($article->id,$article->catid)));
}
But on the administrator side onContentAfterSave(), where I need it, I'm getting a non-sef url. Is there some way to get the menu/alias path on the admin side?
Best,
Mike