I'm currently developing a Joomla plugin in which I want to catch the event onContentAfterSave
, in order to post the newly saved article to a URL shortener, for use on social networks.
Can someone help me on how to calculate the appropriate SEF URL to an article detail view (no menu entry!)?
The URL should be like: http://<domain>.<tld>/<category-id>-<category-title>/<article-id>-<article-title>.html
I've read this post, but that doesn't really provide a solution.