Joomla DZ Bug tracker

vendredi 14 février 2014

Get URL of current page in Joomla

You can use the Joomla API to find the current URL of the page.
JURI::current()
This will return current page URL.

JURI::base()  this will return you the base URL of your Joomla Site.

jeudi 2 janvier 2014

Include a Helper

require_once JPATH_COMPONENT_ADMINISTRATOR.'/helpers/yourhelper.php';