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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:48:22+00:00 2026-06-09T07:48:22+00:00

Before getting started, I am using Magento 1.7. I am trying to create a

  • 0

Before getting started, I am using Magento 1.7.

I am trying to create a custom theme outside default package and got everything okay so far.
But I have to change the app/etc/modules/Mage_All.xml file
so that I can access the local folder with the module configs.

This is the original block of code:

<Mage_Page>
    <active>true</active>
    <codePool>core</codePool>
    <depends>
        <Mage_Core/>
    </depends>
</Mage_Page>

And this is the line I have changed:

<codePool>core</codePool>

However, as good practice in programming we should never edit core files, so I’m afraid that if upgrade my magento that file will be replaced and so, the theme would stop working.

So que question is how to override this settings.

I’ve created a module ‘Local’ inside app/code/local/Local with proper config.xml and system.xml files.

And created a xml file for the module itself inside app/etc/modules/Local.xml

<?xml version="1.0"?>
<config>
    <modules>
        <Local>
            <active>true</active>
            <codePool>local</codePool>
            <depends>
                <Mage_Page/>
            </depends>
        </Local>
    </modules>
</config>

As I said, if I alter the Mage_All file it works like a charm…
but I’d like to know if there is another way off calling local code folder

  • 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-09T07:48:24+00:00Added an answer on June 9, 2026 at 7:48 am

    First, create a file in app/etc/modules/ with name Mage_Page.xml

    Put below content in it:

    <?xml version="1.0"?>
    <config>
        <modules>
            <Mage_Page>
                <active>true</active>
                <codePool>local</codePool>
            </Mage_Page>
        </modules>
    </config>
    

    Now, if you want whole Mage_Page module to override, copy whole app/code/core/Mage/Page/ contents and put it in your local. If you already have customized module in your local which you said is working properly, just change it’s namespace to Mage and module name to Page.

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

Sidebar

Related Questions

So just getting started with Azure tables- haven't played with them before so wanted
I'm getting an end of file before the left brace was matched while trying
I'm still getting used to SQL, so before I get to using stored procedure,
I am just getting started using JavaServer Faces and am having a bit of
I am getting started with iPhone application development and would like to create an
I have never written a slide show before and having trouble getting it started.
I'm just getting started on Prototypes, and I'm trying to test different things on
I've just started using SQL and had been getting by with searching google for
So I keep getting this error when trying to compile C++ code using CodeBlocks.
Just getting started in xcode 4 and svn, opened my project (had been using

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.