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 7972645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:55:27+00:00 2026-06-04T07:55:27+00:00

I would like to have the topLinks within Magento CE 1.6 displayed within a

  • 0

I would like to have the topLinks within Magento CE 1.6 displayed within a static block. This is due to the fact that my site is running four different stores [multi-store – different domains] and need to have topLinks on only two stores, whilst using one template.

I did try to convert the php call [getChildHtml(‘topLinks’); ?>] into a block tag within the static block but was not successful. Have looked in depth at the xml for the template_links [made from varied xmls] but could not come to terms as how to just make a {{block}} within the static block to display the topLinks.

The call for the static block is in place, just need help achieving the topLinks within.

Any help will be appreciated.

With best regards

Fab


A fine tune of my question:

Basically I need to amend the page.xml

from

<block type="page/template_links" name="top.links" as="topLinks"/>

to

<layout>
<static_block_top_links>
    <reference name="header">
        <action method="unsetChild">
            <name>topLinks</name>
        </action>
        <block type="cms/block" before="-" name="some_name" as="topLinks">
            <action method="setBlockId">
                <name>some_static_block</name>
            </action>
        </block>
    </reference>
</static_block_top_links>

<STORE_store>
    <update handle="static_block_top_links" />
</STORE_store>

<STORE_law>
    <update handle="static_block_top_links" />
</STORE_law>

  • 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-04T07:55:28+00:00Added an answer on June 4, 2026 at 7:55 am

    Hello for anyone of you having a magento CE 1.6+ multi-store multi-domain and would like to remove the topLinks in general for certain stores, this is the correct method.

    Create a local.xml in your app/design/frontend/default/yourtheme/layout/

    Your local.xml should be like this

    <?xml version="1.0" encoding="UTF-8"?>
    <layout>
    <STORE_mystore1>
        <reference name="header">
            <action method="unsetChild">
                <name>topLinks</name>
            </action>
        </reference>
    </STORE_mystore1>
    
    <STORE_mystore2>
        <reference name="header">
            <action method="unsetChild">
                <name>topLinks</name>
            </action>
        </reference>
    </STORE_mystore2>   
    </layout>
    

    Replace the mystore1 and mystore2 with the code under Store View [Admin -> Manage Stores -> Store View Name -> Code]

    Make sure that you encode the layout.xml in UTF-8

    Upload the layout.xml in the app/design/frontend/default/yourtheme/layout/ folder.

    Refresh the cache.

    I would like to thank Daniel Sloof and Robert Popovic for their input.

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

Sidebar

Related Questions

I would like to have an AppWidget that designed like this one . Image:
So in my project i would like have a nice treeview that has images.
I would like to have a border that is 4px thick pink on the
I would like to have a custom view in my application that consists of
I have been reading about JPA and EJB3 and would like to confirm that
I would like have a button and when you click this button, un can
I would like to have an object that returns status true/false based on the
I would like to have opinions/suggestions whether this is a good way to implement/enhance
I would like have a taskpane displayed on each document-windows, I have read all
I have a problem that I would like have solved via a SQL query.

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.