Joomla provides some basic themes which are already installed in the templates folder. When any developer develop the CMS in the joomla , he use his own template with new design.
On the index page
$this->baseurl
works well but when he want to own module then he create a folder in custom template folder.
But in that module folder
$this->baseurl
doesn’t work. Why? because joomla does not provide to access $this in the custom module folder.
You should replace below code
to
Leave a Reply