<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script type='text/javascript' src='knockout-3.4.0.js'></script> </head> <body> The first name is <span data-bind="text: firstName"></span><br/> The last name is <span data-bind="text: lastName"></span><br/> The funll name is <span data-bind="text: fullName"></span><br/> </body> </html> <script> function AppViewModel() {...
Month: May 2016
1. Basic viewmodel and observableArray
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script type='text/javascript' src='knockout-3.4.0.js'></script> </head> <body> The name is <span data-bind="text: personName"></span> The age is <span data-bind="text: personAge"></span> The funll name is <span data-bind="text: fullName"></span> </body> </html> <script> var myViewModel = { personName:...
Advanced Permissions(Magento extension)
Why Use Advanced Permissions Assign sub-admins to local Store Views (English, German, etc.) Let marketers create one-off specials or set seasonal prices. Provide access to Reports and other data ensuring employees don't tamper with vital Magento settings, and much more....
MagMagento 2: Add new Custom Form Validation
FacebookTwitterGoogle+LinkedInPartager In Magento 1, There was one file validation.js. We can add the new validation on that file or also add in our extension .phtml or .js file. In Magento 2, We can add our custom validation in .phtml...
MAGENTO AND PHP 7
Magento is one of the biggest and most popular e-commerce platforms written in PHP. The very first Magento release, known as ‘Bento’, is dated to March 31, 2008. For that time the actual PHP version was 5.2. Nowadays we are...
Setting up Magento in Nginx PHP-FPM server
http://www.shahalpk.name/post/108670428748/setting-up-magento-in-nginx-php-fpm-server
Magento form setting controller and block
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 <?php class Excellence_Form_Block_Adminhtml_Form_Edit extends Mage_Adminhtml_Block_Widget_Form_Container { public function __construct() { parent::__construct(); $this->_objectId =...