JFactory::getDate() doesn’t automatically add offset
By default, calling JFactory::getDate() doesn’t automatically apply the timezone offset. The default date/time is GMT. By using the following code, you can set the offset from the global joomla configuration file <?php $thisJApp = &JFactory::getApplication(); $thisJDate = JFactory::getDate(); $thisJDate ->setOffset($thisJApp ->getCfg(‘offset’)); echo $thisJDate->toFormat(“%A %d %b %Y”); ?> If you want to set the date from [...]
SimplePie Joomla Proxy Issue
The issue I had with a particular joomla site is that I could not load external RSS feeds. The error was “Could not connect to {server}”. RSS Feed load failed. This was caused in the SimplePie.php class around line 6601. Steps to resolve: I enabled the cUrl extension in php.ini (running on a IIS platform) [...]
Modifying contact component in Joomla issue
The problem I came across when making a modification to the layout in the Joomla contact component was it wasn’t updating on the website. I even cleared out the cache and it still didn’t work. It wasn’t until I realized it was because of the template that I was using. Templates can override the layout [...]


