Monthly Archives: December 2010

Changing header information in a Joomla Template

In some Joomla templates you can change the information in the <head> tags directly by going in the template and adding html code inside the <head> tags. However, some other templates have in the header this line of code: <jdoc:include type=”head” /> which includes the header information from some file. If you like to change […]

Posted in Joomla | 1 Comment

Useful Regular Expressions

1. Matching an URL There are many regular expressions out there that match an URL, but this is the best I’ve found so far: ‘#((https?://|www\.)([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)#‘ 2. Match email “/[\._a-zA-Z0-9-]+@[\._a-zA-Z0-9-]+/i”

Posted in PHP/MySQL | Leave a comment

PHPExcel and Joomla

When you try to include the PHPExcel library into a joomla article (using a plugin for inserting PHP code into an article), it doesn’t work. It displays a white screen. I found a solution for that. It maybe not the best way to fix this sinceĀ  I’ve modified the Joomla core. Go to /libraries/loader.php and […]

Posted in Joomla | 2 Comments