I have always encountered the problem of vertically align a div to avoid having to be modifying the paddingwhen the text size is too long and takes up two rows … well here I leave the point of how to make thisautomatic alignment as it we do when we use a table … and it […]
Escaping quotes and special characters
One of the problems that we have found to make applications for PHP, is the need to escape the quotation marks in forms or in any update that is done from the front-end and stored in the DB my_sql. After reviewing some pages on the internet and see that many of us have the same […]
Connect to an external db Joomla with Joomla framework
If you need access to tables in the same database of Joomla simplementes then we use the method JFactory->getDBO. For example:
Change rights and owners of linux recursively
When you spend half of your working life installing Joomla, WordPress and other free softwars on different servers, always end by hitting with the issue of rights. I can not upload files to some folder, with Plesk if I can not change the owner or I can not do it recursively or I have to […]