Search the Wiki

Viewing 81 to 90 of 233 items

jQuery – Some good practices

1. If you need to add class to the parent of an element has specific. Example: <ul class="parent_element"> <li class="normal_class">First</li> <li class="normal_class child_element_specific_class">Second</li> <li class="normal_class">Third</li> </ul> <ul class="parent_element"> <li class="normal_class">First</li> <li class="normal_class">Second</li> <li class="normal_class">Third</li> </ul> You can do this way to add class to the UL has child with class "child_element_specific_class" jQuery(".parent_element:has(.child_element_specific_class)").addClass("wanted_element");   2. If  Full Article…

0

Magento – User manual for Delivery Extension

Delivery Schedule User Guide Admin can easily configure the Delivery Schedule module at Backend => Delivery Schedule => Configuration. Configuration Format Date: Allow admin to choose format date. At Frontend, each time slot will be displayed as the selected format. Weeks: Maximum number of weeks that customers can select delivery date. For example: When admin inserts 4 in this field,  Full Article…

0

Magento – Update admin routers of custom module for patch

I managed to change my custom module to use the Magento new way as recommended with the patch 6788. So I give here as a reference for other. Change to router in the config.xml file: Before: <admin> <routers> <adminhello> <use>admin</use> <args> <module>Pulsestorm_Adminhello</module> <frontName>admin_adminhello</frontName> </args> </adminhello> </routers> </admin> After <admin> <routers> <adminhtml> <args> <modules> <adminhello before="Mage_Adminhtml">Pulsestorm_Adminhello_Adminhtml</adminhello>  Full Article…

0

Magento – Access Denied errors after installing SUPEE-6285

After installing the SUPEE-6285 patch on our Magento 1.7.0.2 store the system is showing an "Access Denied" error when attempting to access all custom modules for users who have selective permissions (not all permissions). Screenshot below. ————————————————————————————–   Solution:   If you use restricted admin accounts, some menus of third party extensions might not work  Full Article…

0

Apache – php files can’t work in SSL mode

When you install SSL, if you face the issue: php files can't work when you enable SSL for your website.  This issue doesn't occur in http protocol, it only occurs in https protocol. You can fix this issue by adding this line into your <Directory>….  AddHandler application/x-httpd-php .php Hope it will help you ^^

0

Magento – How to optimize

Magento’s cache system Magento & Zend Framework Before we go on with various optimization points, it is needed for everyone to understand truly and in depth the Magento two level cache mechanisms. The Magento cache system inherit from Zend Framework‘s (ZF) one. Nothing really surprising there, Yoav has always been close to Zeev & Andy and like this Framework  Full Article…

3

Ubuntu Warning: require_once(HTTP/Request2.php)

If you see this error when you access your source code: Warning: require_once(HTTP/Request2.php) It is saying that you lack some PHP extensions. You need to install 2 extensions: Pear and Http_request2 You can do it by the following commands: sudo apt-get install php-pear sudo pear install http_request2  

0