Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8244675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:55:57+00:00 2026-06-07T21:55:57+00:00

if i do follow thing from controller $this->loadLayout(); $this->renderLayout(); And following in that layout

  • 0

if i do follow thing from controller

$this->loadLayout();     
$this->renderLayout();

And following in that layout file

<label>Label</label>
<remove name="right" />
<remove name="left" />
<remove name="header" />
<remove name="footer" />
<reference name="root">
    <action method="setTemplate">
        <template>page/1column.phtml</template>
    </action>
</reference>
<reference name="content">
    <block type="abc/abc" name="hello" template="abc/abc.phtml" />
</reference>

Is there any way to load the particular view file without loading the header and footer of the magento. I do not want any kinds of css, js loading on that page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:55:58+00:00Added an answer on June 7, 2026 at 9:55 pm

    In Magento, the ‘head’ block is responsible, amongst other things, for js and css output. So, the only code you have missing from the layout xml provided is the following:

    <remove name="head" />
    

    Also, you have not provided the layout handles in the sample code. Make sure that you are targeting the correct layout handle.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A follow-up from this question , I've changed my controller and routing around so
Follow up to this question . I have the following code: string[] names =
This is a follow-on from a previous question I had: How to decouple my
Hi guys I remove /page from high_voltage gem with this answer. Remove page/ of
I'm facing the following issue: I need to make a call from my controller
I am tring to follow this post post and combine it with the ShootThemUp
Follow up question from Multi-core usage, threads, thread-pools . Are threads moved from one
Follow up from: Directdraw: Rotate video stream I managed to preview the camera's video
Follow up to this question about GNU make : I've got a directory, flac
So we have a real-estate-related site that has controller/action pairs like homes/view, realtors/edit, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.