Yesterday when i was playing with Magento 2 admin editing the Design Configuration section, i was stuck with an error: Can't create d...
Sunday, November 5, 2017
Thursday, November 2, 2017
Increment alphabets like numbers in php
Shyam Krishna Sreekumar
November 02, 2017
Today i faced a situation to increment alphabet in a loop. So how did i achieved it? Simple, code is provided below. $xi = 'A';...
Tuesday, October 31, 2017
Passing custom variable or data from cms page to a phtml file
Shyam Krishna Sreekumar
October 31, 2017
Like the setData mentioned in this link: setData , we can pass variable or data from cms page also. {{block type="yourmod/testblock&...
Passing custom variable from Magento phtml to block template
Shyam Krishna Sreekumar
October 31, 2017
For passing variable or data from a controller or phtml file to template block, we can use setData method. We can then receive it in the ...
Tuesday, October 17, 2017
Magento PHP Fatal error: Uncaught exception 'Mage_Core_Exception' with message 'Cannot complete this operation from non-admin area.
Shyam Krishna Sreekumar
October 17, 2017
Yesterday when i was trying to write a custom code for deleting product, i got stuck with a problem. "PHP Fatal error: Uncaught exc...
Tuesday, September 12, 2017
Locate a file using a part of the name - Linux
Shyam Krishna Sreekumar
September 12, 2017
Sometimes we might need to locate a file and we doesn't know the full name. So the available option is the check via terminal using som...
Friday, September 1, 2017
redirect https to http for a certain file .htaccess
Shyam Krishna Sreekumar
September 01, 2017
Today i needed to redirect for a specific URL to http only. Since whole site was loaded in https, i have done a lil bit scratch on my head ...