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

  • Home
  • SEARCH
  • 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 7671989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:11:00+00:00 2026-05-31T16:11:00+00:00

starting from a mostly fresh CE 1.6.2.0 installation, I want to remove the default

  • 0

starting from a mostly fresh CE 1.6.2.0 installation, I want to remove the default XML instantiation of the core/template block found in the header. This block is named “top.search” and is tied to form.mini.phtml.

In my local.xml, my first thought was to add this:

<default>
    <remove name="header.top.search"/>
</default>

This works for any other block I’ve tried to remove (ie, prepend the skeleton block name (eg, “header”) to the beginning of the content block name), but not this one. Why?

I have found that this does work:

<default>
    <reference name="header">
        <remove name="top.search"/>
    </reference>
</default>

But of course I thought that this would be essentially the same thing.

I actually intend to move this into my navbar, so I know that I’ll also need to instantiate a new core/template block in the top.menu skeleton block.

Another question that arises, however, is why is the default CSS set to use absolute positioning for .header .form-search anyway?

I guess that’s two questions, but related at least 🙂
Thanks kind sirs!

edit: thanks, So, I was simply using the incorrect block name! I was confused by the naming of the blocks which all newbies first encounter: left.permanent.callout, right.permanent.callout, which both are placed into their appropriately named skeleton blocks “right” and “left”.

  • 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-05-31T16:11:01+00:00Added an answer on May 31, 2026 at 4:11 pm

    <remove name="header.top.search"/> does not work because the name of block is not header.top.search. The block is defined in catalogsearch.xml like this:

    <block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
    

    The name of the block is top.search, so to remove it use <remove name="top.search"/>.

    You don’t have to put remove tags inside reference tags. Remove tags works globally for all blocks in the layout object. This is also why the name of the parent block does not matter and should not be prepended to the block name.

    Regarding your CSS question, I don’t know why the search block is made with absolute positioning. I guess that’s just a choice made by the designer of the default theme.

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

Sidebar

Related Questions

I use NSURLConnection to load xml from server when starting the app, but mostly
I want to extract two consecutive words starting from each word in a string.
starting from the rails blog tutorial, i want to have listing and create functionality
I want to write k elements starting from k*i to a file. so in
Starting from the standard Xcode Document-based Application w/ CoreData template on 10.7, I'm experiencing
Starting from scratch in a new project in which the properties of the default
Starting from ASP.NET MVC Preview 3, HTML.Button ( and other related HTML controls) are
Starting from scratch with very little knowledge of .NET, how much ASP.NET should I
Starting from scratch is hard. How do you do it? I quite like color
Starting from Visual Studio 2010, iterating over a set seems to return an iterator

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.