Timeline for Magento 2 - How to create a Landing Page
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 29, 2020 at 19:24 | vote | accept | Magento_learner | ||
| Oct 29, 2020 at 19:24 | vote | accept | Magento_learner | ||
| Oct 29, 2020 at 19:24 | |||||
| Oct 2, 2020 at 18:23 | comment | added | Hiren Patel | Yes,right, CMS Page is better way for static page content | |
| Oct 2, 2020 at 18:21 | comment | added | Magento_learner | So basically, it's much better to just create it through CMS? | |
| Oct 2, 2020 at 18:19 | comment | added | Hiren Patel | If you have basic knowledge about only html then you can edit in future. one problem with custom module is that you have to setup SEO friendly URL differently using URL Rewrite where in CMS Page you just have to URL Key which you want to add. it's too easy | |
| Oct 2, 2020 at 18:12 | comment | added | Hiren Patel | CMS Page is easy to change because its provided default by Magento 2 admin. Its contain HTML editor. | |
| Oct 2, 2020 at 18:10 | comment | added | Magento_learner | may I know whats the pro and cons of creating that through CMS page instead of creating new module? | |
| Oct 2, 2020 at 18:05 | comment | added | Hiren Patel | If you need easiest way then CMS Page and its also as per Magento standard. And, If you want to create new module and you want to go through that then you have to create new routing using routes.xml, new frontend controller, new layout xml file and phtml file. | |
| Oct 2, 2020 at 18:02 | comment | added | Magento_learner | Would it be better to do it through code changes instead of CMS? | |
| Oct 2, 2020 at 17:38 | history | answered | Hiren Patel | CC BY-SA 4.0 |