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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:23:11+00:00 2026-05-27T13:23:11+00:00

cms.xml has default value: <default> <reference name=footer> <block type=cms/block name=cms_footer_links before=footer_links> <action method=setBlockId><block_id>footer_links</block_id></action> </block>

  • 0

cms.xml has default value:

<default>
    <reference name="footer">
        <block type="cms/block" name="cms_footer_links" before="footer_links">
             <action method="setBlockId"><block_id>footer_links</block_id></action>
         </block>
     </reference>
</default>

My local.xml has follow content:

<default>
     <reference name="footer">
             <remove name="store_switcher" />
             <remove name="footer_links" />

             <block type="page/html_wrapper" name="footer.links.wrapper" translate="label" before="-">
                <label>Footer Links Wrapper</label>
                <action method="setElementClass"><value>bottomLinks</value></action>

                <block type="cms/block" name="cms_footer_links">
                    <action method="setBlockId"><block_id>footer_links</block_id></action>
                </block>
             </block>

      </reference>
</default>

But in this case I get doubled footer_links block. The first one is as it is in a page static block, the other one is wrapped into div.bottomLinks.

How to fix this? How to show only one wrapped block without cms.xml editing?

  • 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-27T13:23:12+00:00Added an answer on May 27, 2026 at 1:23 pm

    Try this in local xml

    <default>
    ....
    </default>
    
    <cms_index_index>
        <reference name="footer">
            <remove name="cms_footer_links" />
        </reference name>
    </cms_index_index>
    

    And in

    <block type="cms/block" name="cms_footer_links">
    

    You should change name to something like “cms_footer_another_links”.

    Well I hope I got your question right.

    UPDATE 1

    default section is loaded everywhere. So IF I correctly understood u want only 1 single instance of block.

    Try the following(local.xml):

    <default>
    
        <reference name="footer">
            <action method="unsetChild"><name>cms_footer_links</name></action>
    
             <block type="page/html_wrapper" name="footer.links.wrapper" translate="label" before="-">
                <label>Footer Links Wrapper</label>
                <action method="setElementClass"><value>bottomLinks</value></action>
    
                <block type="cms/block" name="cms_footer_links"/>
             </block>
    </default>
    

    OR

    <default>
    
        <reference name="footer">
            <remove name="cms_footer_links" />
    
    
    
             <block type="page/html_wrapper" name="footer.links.wrapper" translate="label" before="-">
                <label>Footer Links Wrapper</label>
                <action method="setElementClass"><value>bottomLinks</value></action>
                <block type="cms/block" name="cms_another_footer_links">
                    <action method="setBlockId"><block_id>footer_links</block_id></action>
                </block>
             </block>
       </reference>
    </default>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone worked on Mura CMS before? I need to know if it is
I am working with a XML driven CMS, and before I run off and
We want to implement a sitemap.xml feature in out CMS system. There is some
We have a website build in the umbraco 4.1 cms (webforms) default .net 3.5
What publishing frameworks (publishing only, NOT full-blown CMS) based on XML, XSLT sitemaps and
I came across a CMS known as GetSimple. It uses XML for storing all
I am currently working on a XML-based CMS that saves data in chunks called
XSLT available is 1.0. I'm working on a dual-language site in an XML-based CMS
I am experimenting with using xml as a database for small CMS, like gallery
$xml_file = file_get_contents(SITE_PATH . 'cms/data.php'); The problem is that a server has URL file-access

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.