KB Tag: CMS

  • How to build CMS page by source code in Magento 2

    In Magento you can build a CMS pages in admin>CMS>Page. Moreover, you can also build it by setup or improve module. In this article, you can know how to add CMS page in to Magento 2 by setup script through precise steps: Step 1: build UpgradeData.php File Step 2: Setup the module version Step 3:…

  • How to Get all Translation Labels from PHP and JS files of Magento 2 Extension

    To write a generator label function with XML file using: File directory: xampp/htdocs/translation/translatelabel.php The following steps are the shortest process for you to get all translation labels from PHP and JS files of Magento 2 Extension.   $searchExtensions = array(‘xml’, ‘xml’);   $strTranslateFunc = ‘title=’;   $arrItems = array();    $sourcePath = ‘your_folder_source’;    $di = new…

  • How to use Magento 2 CMS

    The content management system (CMS) of your magento 2 store is used to creating a new pages, blocks and widgets. You can combine these 3 elements to create accustom static pages that display part of your catalog or other useful customer information. you can view our Magento demo here  The following factor will help you effectively…

  • How to call a static block on CMS

    If you want to call a static block on CMS, Just follow these steps: Login to admin page->content->pages, we will choose and edit your CMS “homepage”. Go to tab design and insert the command and save CMS page: “Go to homepage”, you will see contact us info. While working on project, you may need to…