I have a simple tage extension that I wrote. It currently gets the name of the article
through $_GET['article']
However this is an issue where pages that are not the main name space do not work because
$_GET['article'] ends up equaling something like nameSpace:articleName
Is there a way to grab the article name and name space separately?
It would be even better if I could access the page id.
The php in the extension where I need to use this is
function efBildrTagsRender( $input, $args, $parser ) {
return '<img
src="http://test.com/'.$_GET['title'].'.jpg" />';
}
Thanks,
-Adam