1

missly we did some changes and now one of our phtml page is displaying as one page layout : here

we want to remove that . but we have no idea which xml file we need to look.

IS there any way we can find in which xml file we added the code to make it 1 column layout.? we checked in local.xml. its not there

5
  • can you share page url? Mar 1, 2016 at 11:21
  • you cann check [here](test.collagekingapp.com/marketplace/marketplaceaccount/myproductslist) Mar 1, 2016 at 11:22
  • Add your layout under this <marketplace_marketplaceaccount_myproductslist> in local.xml
    – Magento 2
    Mar 1, 2016 at 11:52
  • <reference name="root"> <action method="setTemplate"> <template>page/2columns-left.phtml</template> </action> </reference>
    – Magento 2
    Mar 1, 2016 at 11:52
  • @LearningMagento it didt worked for me Mar 1, 2016 at 12:19

1 Answer 1

1

Search for these two tags in module.xml or local.xml

<marketplace_marketplaceaccount_myproductslist>

</marketplace_marketplaceaccount_myproductslist>

These should be the once you changed

7
  • seems its some other problem, its in local.xml file only, but when i move the file through "git" , its not working in another site Mar 1, 2016 at 12:19
  • check there module xml because magento first read module.xml the local.xml and make sure your cache is disabled or refresh the cache after the changes.. Mar 1, 2016 at 12:22
  • sorry, i copied the marketplace.xml file through git , but still its not working in another site Mar 1, 2016 at 12:33
  • did you check the theme they are and also after that refresh the cache? Mar 1, 2016 at 12:35
  • cache was disabled, both sites have exactly same code. if i update the code from local.xml , than it will work in 1st site. but in another site , its not working. i will check in theme. Mar 1, 2016 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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