Author: naveenos
-
Magento: How to enable template path hints?
Magento comes with many folders and its structure is complex. In general, it is not easy to find the perfect file to edit for a specific section. Because there may be many folders with same name in different directories. you are thinking then What is template path hints? Template path hints is just a tags…
-
What is Memcached?
Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering. Memcached is simple yet…
-
Magento: How to debug error quickly
Magento provides log file to maintain each type of error on your application. By this you can add log error or exception to magento’s system log file. Its very handy to view coding errors. Developing for Magento is often hard, especially since it’s not always possibly to have error reporting on (and even when it…
-
Zend: Join doesn’t work in my model
Zend provides JOIN, joinLeft, joinRight keywords to join two or multiple tables. you can make an sql object by calling select function of current model by: $select = $this->getDbTable()->select(); Use below line to use JOIN terms in your SQL: $select->setIntegrityCheck(false); By default its integrity value set to True and it do not allow to use…
-
Zend: How to use multiple conditions at delete time?
Zend provides a facility to delete a row from the database table using the delete() method. This method takes one argument, which is an SQL expression that is used in a WHERE clause, as criteria for the rows to delete. For example : $modelObj = new ModelName(); $where = $modelObj >getAdapter()->quoteInto(‘id = ?’, ‘1235’); $modelObj…
-
CSS: Opacity in all browsers
Today’s market is based on 3D and most things are doing by jQuery or Javascript to make fast loading application. Opacity is a part of CSS to make transparent image without PNG format. To set the opacity property to an image you can use: .img_transparent_class{ opacity: 0.5; } But this line will suitable for some…
-
Joomla: Why all articles are showing on frontpage in joomla?
If you are new to Joomla then you will do this silly mistake definitely. because in most cases new user don’t aware from all terms of joomla and its admin panel. Joomla created for best content management system and during write the code, developers kept in mind each small users requirements. When you are creating…
-
Joomla: How to check if the current page is Home Page or not in Joomla
Joomla is a best custom management open source tool. It provides many type of functionality regarding theme, module and components. During development time we need to create some special function to use on home page only. or we can say that sometimes we want to show something (content) on the home page only. Joomla says…
-
Linux: How to use serach command in Linux?
In windows we can easily find the any file in the folder and it doesn’t matter that how many folders inside that folder.. and it is possible by pressing F3 key on the keyboard. But in the linux we have to use command prompt to find such type of searching. In ubuntu we can do…
-
PHP Motion: Captcha code is not working
When you install the phpmotion on your system you will find that captcha code is not showing on registration page. open includes/captcha.php and replace var $font = ‘DoradoHeadline.ttf’; by var $font = ‘./DoradoHeadline.ttf’; Tweet This Post
-
Ubuntu: How to start and stop LAMP server
To view any changes in php.ini file or some LAMP server files we should restart the apache server again. and you can do this by following commands: sudo /etc/init.d/apache2 stop sudo /etc/init.d/apache2 start Above both commands will stop the apache server and start again. But you can do restart apache server by single command only:…
-
Ubuntu: Installing Xdebug on Ubuntu LAMP
We are assuming that you have installed LAMP on your ubuntu operating system. But you are not getting errors in php files when file has any syntax or fatal error. So you see these errors by following below steps: Open you php.ini file by below command: sudo gedit /etc/php5/apache2/php.ini First confirm your php.ini file location…