1

I want to change out the footer and header for a minimized version but only on a certain CMS Page.

Is it possible to do this with the layout XML input field to remove the header/footer and add static blocks in their places?

I do not have access to Magento files.

asked Apr 11, 2019 at 14:19

2 Answers 2

1

Not sure what theme you are using and may need to find out what your block names are but this should do the trick

<reference name="before_body_end">
 <block type="cms/block" name="custom_footer">
 <action method="setBlockId">
 <block_id>your-static-block</block_id>
 </action>
 </block>
</reference>
<reference name="footer">
 <remove name="footer_links" />
 <remove name="footer_links2" />
</reference>
answered Apr 23, 2019 at 12:04
5
  • Thanks for your answer, Dava. We're using a modified version of rwd. How can I get ahold of the block names without having access to the source files? Commented Apr 23, 2019 at 12:54
  • But inserting content works fine, so I guess if everything else fails, I could hide the old footer with CSS. What is the reference to add something in front of the header, though? Commented Apr 23, 2019 at 13:06
  • 1
    @NoahWetjen the reference for that is after_body_start Commented Apr 23, 2019 at 13:30
  • after_body_start doesn't work for me. I'm using the same code, just changed _end to _start. Commented Apr 23, 2019 at 14:01
  • @NoahWetjen that could mean its been removed as that works fine on my version of RWD Commented Apr 24, 2019 at 15:24
0

To remove header & footer : 1: Update design with empty layout 2: add particular static block on cms by following way add below live in page content:

{{block type="cms/block" block_id="static-block-to-use-in-cms-page"}}

Let me know if you still have an issue in it

answered Apr 26, 2019 at 17:27
1
  • @noah-wetjen its perfect fit for your issue let me know if its not working. Commented Apr 28, 2019 at 5:47

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.