Tagged: magento2

Gulp for Magento 2 0


As a Magento 2 frontend developer, you might have noticed that less to CSS compilation process is too slow with the grunt and it takes more time to rebuild everything making you an inefficient developer.

However, you could solve this problem with Gulp. Gulp is a task / build runner which uses Node.js for web development. The main difference between Gulp and Grunt lies in how they deal with their automation tasks inside.

Gulp uses Node Stream while Grunt uses temp files. Therefore, Gulp compilation is faster compared to Grunt. (more…)

How to remove a part from existing Magento 2 CMS page layout 0


If you need to remove any part or a section of a Layout, follow the below steps.

Login to M2 Admin> Go to the content -> pages & select the page you want to layout change > Select Design tab and add in what you want to remove from Layout Update XML
Ex:
<body>
<referenceBlock name=”footer” remove=”true”/>
<referenceBlock name=”header.panel” remove=”true”/>
<referenceBlock name=”catalog.topnav” remove=”true”/>
<referenceBlock name=”breadcrumbs” remove=”true”/>
</body>

(more…)

How to add a body class for a page using Magento 2 admin panel 0


If you need to add a body class for a page , please use below steps.

> Login to M2 Admin > Go to the content -> pages & select the page you want to add a body class > Select Design tab and add in what you want to add a class from Layout Update XML

Ex:
<body>
<attribute name=”class” value=”service-unavailable”/>
</body>

(more…)

What you need to install Magento2 0


These are the configurations needed to install and run Magento2.

Apache – 2.2 or 2.4

PHP – 5.6.x or 5.5.x (Older versions of PHP is not supported)

MySQL – 5.6.x

If you are using a framework like wamp or xampp, you will need to upgrade it to the latest version of it. Upgrading framwork must be done with caution since you might break your old sites since they might not support the latest PHP version. So, do backup you local sites and databases before you upgrade. But, I am sure, a fresh installation will have no issues at all…