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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:33:33+00:00 2026-05-24T19:33:33+00:00

I have created a modules: app/code/local/MyStore/Welcome And in this module, I have a controller

  • 0

I have created a modules:

app/code/local/MyStore/Welcome

And in this module, I have a controller like:

MyStore_Welcome_IndexController

From my current knowledge, I see at the beginning Magento load Mage_Cms_IndexController controller as the default controller.

Now I want to load MyStore_Welcome_IndexController controller as default.

How can I do that?


Update:

I’ve found a way to do using admin feature:
From the menu you chose: System/Configuration/Web:
You continue to choose: “Default Page” => “Default Web URL” to field the module:
Image to show how to config

  • 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-24T19:33:33+00:00Added an answer on May 24, 2026 at 7:33 pm

    You need to make sure that your controller extends Mage_Cms_IndexController and then override that default controller via the controller overloading method. In this method you will create a plugin as per usual, but you need to do the following:

    • add the declaration require_once() at the top with the relative path to the controller you’re overloading. E.g. :

      require_once 'Mage/Checkout/controllers/OnepageController.php';
      class MyClass_OverloadedCheckout_Checkout_OnepageController extends Mage_Checkout_OnepageController
      
    • Create any class methods or properties that you may want to add in addition to the default.

    • in your config.xml add the following lines outside of the <global> node:

        <frontend>
            <routers>
                <myclass_overloadedcheckout>
                    <use>standard</use>
                    <args>
                        <module>Myclass_OverloadedCheckout</module>
                        <frontName>OverloadedCheckout</frontName>
                    </args>
                </myclass_overloadedcheckout>
            </routers>
        </frontend>
      

    Something to remember – if you rewrite any default methods you need to return parent::{methodname} either before or after your injected functionality to ensure that the default behaviors continue to operate.

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

Sidebar

Related Questions

Below is sample code from a Module I have in my Flex app. I
i have created a module with this among others this function in it: <?php
I have an executable module created by third party. I would like to inject
I have created some classes in a module, f.i. Request (app/models/api/request.rb) class Api::Request end
I'm trying to create a Rails app template I have this block of code
I’ve created a module within the local code folder in our custom namespace. The
I have created a Python module that creates and populates several SQLite tables. Now,
I have created a multi module maven project. Now I have shared the project
I am using ASP MVC 2 and Nhibernate. I have created an HTTP Module
I have a DotNetNuke Module created in DNN 4.9.2. It runs fine on my

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.