Monthly Archives: September 2009
How to add external javascript and stylesheet in joomla component
| September 17, 2009 | Posted by Subikar under component, javascript, joomla, stylesheet |
This is very easy step you can add external javascript or css in head tag of the page. According to seo you cannot add javascript/css in the middle of the page. So here is the code snippet. $document =& JFactory::getDocument(); $document->addStyleSheet($stylesheeturl.’styles.css’); $document->addScript($jsurl.’scripts.js’); Have a happy w3c validate page
Import and export big db in linux
| September 14, 2009 | Posted by Subikar under linux, phpmyadmin |
Here is my short blog post lets share with my friends who are learning linux and want to import or export data to phpmyadmin using linux. So here is the code for that. Data Export in linux mysqldump -u dbusername -h dbhost -pdbpassword dbname > dbname.sql Data Import in linux mysql -u dbusername -h dbhost…