How can i create extension for page layout. I have no extension for this.

  • Can you be more specific? Do you mean a layout like 1column, 2column etc or a full page with blocks?
    – Sander Mangel
    Sep 30 '15 at 9:52

Add new custom layout for few cms pages in one Magento shop. It’s really useful for different static pages of your shop. First create extension with only config file in it: app/code/local/Metizsoft/CmsPageLayout/etc/config.xml

<?xml version="1.0"?>
     <label>Must Login Page</label>

Then activate it: app/etc/modules/Metizsoft_CmsPageLayout.xml

<?xml version="1.0"?>

Clear cache, add your page/mustloginpage.phtml template file (or copy some default one for start) to your current theme and you’re done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.