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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:47:47+00:00 2026-05-18T03:47:47+00:00

I created a new module and a new top level menu item in the

  • 0

I created a new module and a new top level menu item in the Admin section. I also created a few views in the templates/[mymodule] folder, with forms I want to use in my app. The purpose of the module is to contain all the custom functionality for my client’s store, firstly a small form to edit product recurring-delivery subscriptions on-the-fly.

I successfully created a non-EAV data model from a multi-table join, and populated the default view (called in index/index and loaded through the menu item) with the records. Next step, to install the “search by email address” form.

My form consists of

<form id="search_form" name="search_form" method="post" action="<?php echo $this->getUrl('editsubs/index/post') ?>">
Search by Email: < input type="text" name="emailsearch" id="emailsearch" />< /form> < button onclick="searchForm.submit()" class="scalable save" type="button">
<script type="text/javascript">
    var searchForm = new varienForm('search_form');
</script>

and I have verified the URL is properly formed and it is trying to post; however the URL editsubs/index/post is not found and Magento redirects to the dashboard.

Could missing items in config.xml cause this behavior or is there some other reason this might be occuring? Something I’m overlooking?

Magento version CE 1.4.1.1. I’m purposely keeping this very bare-bones and NOT building it on top of SaRP or using their forms.

Routers section of config is:

<admin>
        <routers>
            <Editsubscr2>
                <use>admin</use>
                <args>
                    <module>Kindbars_Editsubscr2< /module>
                    <frontName>editsubs</ frontName>
                </args>
            </Editsubscr2>
        </routers>
    </admin>

Thanks in advance!!

Kris

  • 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-18T03:47:47+00:00Added an answer on May 18, 2026 at 3:47 am

    When the admin section redirects back to the dashboard, it is often because there was an exception or an error while loading the page.

    Try enabling logging and checking your logs to see if you had an exception. If that doesn’t work, Alan Storm has a plugin to view routes that you may want to try.

    As a slightly murkier possible cause, do you have safe URLs turned on right now? If your admin URLs have long alphanumeric tokens specified, you do. Your form may need to specify a token in order for Magento to allow access to that URL.

    Hope that helps!

    Thanks,
    Joe


    UPDATE:

    For the “secret key”, it looks like URLs should be run through Mage_Adminhtml_Model_Url::getUrl. This function contains a method getSecretKey that seems to append a key based on whether the keys are enabled. Also take a look at Mage_Core_Model_Session::getFormKey, which is referenced by adminhtml/url. This should give you more insight into how those URLs are generated.

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

Sidebar

Related Questions

I'm trying to create a new module for Sitefinity. I'm basing my module off
I created a new SharePoint portal for testing purposes using a manually added HOSTS
I created a new email box for general support questions. When I try to
I've just created a new Windows XP VM on my Mac using VMware Fusion.
I've created a new C++ project in Visual Studio 2008. No code has been
We have created a new List View Style that shows thumbnails from a picture
I have created a new solution with a minimal amount of code that represents
I m new to use ankhSVN and having issues. I have created some new
This is happening on Vista. I created a new dialog based MFC project to
I have a simple module for adding the current user to a newly created

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.