Resolved - Admin Grid Redirects to Front End Page Instead of BackendHow to configure custom admin module to show phtml fileCore Javascript files aren't working, and admin menu's won't dropdownwhere to define?how do I go from the back office to see the front end changes of my store? no link to view store front?Magento 1.9 404 Error in Magento Connect ManagerAdd Layout To Custom Module's Admin AreaAttributes showing as numbers on front endHelp with attribute on front-end and php codeMagento Widget doesn't appear on frontendMagento2 admin tab product grid filter reload issueChanging order of shopping cart totals is not working after changed the sequence from admin panel
How do I tell the reader that my character is autistic in Fantasy?
What verb for taking advantage fits in "I don't want to ________ on the friendship"?
Movie with Zoltar in a trailer park named Paradise and a boy playing a video game then being recruited by aliens to fight in space
Could human civilization live 150 years in a nuclear-powered aircraft carrier colony without resorting to mass killing/ cannibalism?
Is it okay to fade a human face just to create some space to place important content over it?
Can you actually break an FPGA by programming it wrong?
What exactly did Ant-Man see that made him say that their plan worked?
Sacrifice blocking creature before damage is dealt no longer working (MtG Arena)?
Bin Packing with Relational Penalization
Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?
Put my student loan in parents’ second mortgage - help?
Company threatening to call my current job after I declined their offer
Is it okay to submit a paper from a master's thesis without informing the advisor?
How do I ensure my employees don't abuse my flexible work hours policy?
Can one use the present progressive or gerund like an adjective?
What kind of jet plane is this?
I need help with pasta
What's the safest way to inform a new user of their password on an invite-only website?
Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?
Have any large aeroplanes been landed - safely and without damage - in locations that they could not be flown away from?
Will writing actual numbers instead of writing them with letters affect readership?
What do you call a notepad used to keep a record?
Using “ser” without "un/una"?
Do home values typically rise and fall at a consistent percent?
Resolved - Admin Grid Redirects to Front End Page Instead of Backend
How to configure custom admin module to show phtml fileCore Javascript files aren't working, and admin menu's won't dropdownwhere to define?how do I go from the back office to see the front end changes of my store? no link to view store front?Magento 1.9 404 Error in Magento Connect ManagerAdd Layout To Custom Module's Admin AreaAttributes showing as numbers on front endHelp with attribute on front-end and php codeMagento Widget doesn't appear on frontendMagento2 admin tab product grid filter reload issueChanging order of shopping cart totals is not working after changed the sequence from admin panel
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end.
http://alanstorm.com/magento_admin_controllers/
Can anyone help me understand what's the problem?
Greatly appreciate your help guys!
magento-1.9 module admin grid frontend
add a comment |
I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end.
http://alanstorm.com/magento_admin_controllers/
Can anyone help me understand what's the problem?
Greatly appreciate your help guys!
magento-1.9 module admin grid frontend
add a comment |
I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end.
http://alanstorm.com/magento_admin_controllers/
Can anyone help me understand what's the problem?
Greatly appreciate your help guys!
magento-1.9 module admin grid frontend
I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end.
http://alanstorm.com/magento_admin_controllers/
Can anyone help me understand what's the problem?
Greatly appreciate your help guys!
magento-1.9 module admin grid frontend
magento-1.9 module admin grid frontend
edited Mar 13 '17 at 18:22
bestwebdevs
asked Mar 9 '17 at 23:45
bestwebdevsbestwebdevs
1072 silver badges14 bronze badges
1072 silver badges14 bronze badges
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
Code for frontend router:
<frontend>
<routers>
<namespace_module>
<use>standard</use>
<args>
<module>Namespace_Module</module>
<frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
</args>
</namespace_module>
</routers>
</frontend>
Code for admin router:
<admin>
<routers>
<adminhtml>
<args>
<modules>
<namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
</modules>
</args>
</adminhtml>
</routers>
</admin>
thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php
– bestwebdevs
Mar 10 '17 at 1:22
When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.
– bestwebdevs
Mar 10 '17 at 1:32
for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.
– Gulshan
Mar 10 '17 at 1:37
Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.
– bestwebdevs
Mar 10 '17 at 1:43
please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin
– Gulshan
Mar 10 '17 at 1:46
|
show 1 more comment
- Reason for error is you didn't read Alan Storm guide properly.
- Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
and global node. Magento didn't found both nodes, so it's showing
frontend 404 page not found error. - Below is example from working extension, see properly and make changes on after understand it
- You must define ACL for each parent and child menu items, it's required.
<frontend>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<routers>
<productcomments>
<use>standard</use>
<args>
<module>Cpstest_ProductComments</module>
<frontName>productcomments</frontName>
</args>
</productcomments>
</routers>
</frontend>
<admin>
<routers>
<adminhtml>
<args>
<modules>
<module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
</modules>
</args>
</adminhtml>
</routers>
</admin>
<adminhtml>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin>
<children>
<productcomments translate="label" module="Cpstest_ProductComments">
<title>CPS Product Comments</title>
<sort_order>30</sort_order>
<children>
<prdcomments translate="title">
<title>Product Comments</title>
</prdcomments>
</children>
</productcomments>
</children>
</admin>
</resources>
</acl>
</adminhtml>
Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.
– bestwebdevs
Mar 10 '17 at 17:46
Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin
– Ananth
Mar 11 '17 at 3:11
add a comment |
Alright, at last I was able to resolve this issue using this article.
Hope That helps someone!
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f163694%2fresolved-admin-grid-redirects-to-front-end-page-instead-of-backend%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
Code for frontend router:
<frontend>
<routers>
<namespace_module>
<use>standard</use>
<args>
<module>Namespace_Module</module>
<frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
</args>
</namespace_module>
</routers>
</frontend>
Code for admin router:
<admin>
<routers>
<adminhtml>
<args>
<modules>
<namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
</modules>
</args>
</adminhtml>
</routers>
</admin>
thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php
– bestwebdevs
Mar 10 '17 at 1:22
When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.
– bestwebdevs
Mar 10 '17 at 1:32
for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.
– Gulshan
Mar 10 '17 at 1:37
Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.
– bestwebdevs
Mar 10 '17 at 1:43
please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin
– Gulshan
Mar 10 '17 at 1:46
|
show 1 more comment
First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
Code for frontend router:
<frontend>
<routers>
<namespace_module>
<use>standard</use>
<args>
<module>Namespace_Module</module>
<frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
</args>
</namespace_module>
</routers>
</frontend>
Code for admin router:
<admin>
<routers>
<adminhtml>
<args>
<modules>
<namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
</modules>
</args>
</adminhtml>
</routers>
</admin>
thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php
– bestwebdevs
Mar 10 '17 at 1:22
When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.
– bestwebdevs
Mar 10 '17 at 1:32
for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.
– Gulshan
Mar 10 '17 at 1:37
Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.
– bestwebdevs
Mar 10 '17 at 1:43
please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin
– Gulshan
Mar 10 '17 at 1:46
|
show 1 more comment
First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
Code for frontend router:
<frontend>
<routers>
<namespace_module>
<use>standard</use>
<args>
<module>Namespace_Module</module>
<frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
</args>
</namespace_module>
</routers>
</frontend>
Code for admin router:
<admin>
<routers>
<adminhtml>
<args>
<modules>
<namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
</modules>
</args>
</adminhtml>
</routers>
</admin>
First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
Code for frontend router:
<frontend>
<routers>
<namespace_module>
<use>standard</use>
<args>
<module>Namespace_Module</module>
<frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
</args>
</namespace_module>
</routers>
</frontend>
Code for admin router:
<admin>
<routers>
<adminhtml>
<args>
<modules>
<namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
</modules>
</args>
</adminhtml>
</routers>
</admin>
answered Mar 10 '17 at 1:20
GulshanGulshan
4602 silver badges8 bronze badges
4602 silver badges8 bronze badges
thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php
– bestwebdevs
Mar 10 '17 at 1:22
When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.
– bestwebdevs
Mar 10 '17 at 1:32
for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.
– Gulshan
Mar 10 '17 at 1:37
Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.
– bestwebdevs
Mar 10 '17 at 1:43
please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin
– Gulshan
Mar 10 '17 at 1:46
|
show 1 more comment
thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php
– bestwebdevs
Mar 10 '17 at 1:22
When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.
– bestwebdevs
Mar 10 '17 at 1:32
for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.
– Gulshan
Mar 10 '17 at 1:37
Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.
– bestwebdevs
Mar 10 '17 at 1:43
please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin
– Gulshan
Mar 10 '17 at 1:46
thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php
– bestwebdevs
Mar 10 '17 at 1:22
thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php
– bestwebdevs
Mar 10 '17 at 1:22
When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.
– bestwebdevs
Mar 10 '17 at 1:32
When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.
– bestwebdevs
Mar 10 '17 at 1:32
for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.
– Gulshan
Mar 10 '17 at 1:37
for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.
– Gulshan
Mar 10 '17 at 1:37
Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.
– bestwebdevs
Mar 10 '17 at 1:43
Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.
– bestwebdevs
Mar 10 '17 at 1:43
please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin
– Gulshan
Mar 10 '17 at 1:46
please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin
– Gulshan
Mar 10 '17 at 1:46
|
show 1 more comment
- Reason for error is you didn't read Alan Storm guide properly.
- Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
and global node. Magento didn't found both nodes, so it's showing
frontend 404 page not found error. - Below is example from working extension, see properly and make changes on after understand it
- You must define ACL for each parent and child menu items, it's required.
<frontend>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<routers>
<productcomments>
<use>standard</use>
<args>
<module>Cpstest_ProductComments</module>
<frontName>productcomments</frontName>
</args>
</productcomments>
</routers>
</frontend>
<admin>
<routers>
<adminhtml>
<args>
<modules>
<module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
</modules>
</args>
</adminhtml>
</routers>
</admin>
<adminhtml>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin>
<children>
<productcomments translate="label" module="Cpstest_ProductComments">
<title>CPS Product Comments</title>
<sort_order>30</sort_order>
<children>
<prdcomments translate="title">
<title>Product Comments</title>
</prdcomments>
</children>
</productcomments>
</children>
</admin>
</resources>
</acl>
</adminhtml>
Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.
– bestwebdevs
Mar 10 '17 at 17:46
Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin
– Ananth
Mar 11 '17 at 3:11
add a comment |
- Reason for error is you didn't read Alan Storm guide properly.
- Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
and global node. Magento didn't found both nodes, so it's showing
frontend 404 page not found error. - Below is example from working extension, see properly and make changes on after understand it
- You must define ACL for each parent and child menu items, it's required.
<frontend>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<routers>
<productcomments>
<use>standard</use>
<args>
<module>Cpstest_ProductComments</module>
<frontName>productcomments</frontName>
</args>
</productcomments>
</routers>
</frontend>
<admin>
<routers>
<adminhtml>
<args>
<modules>
<module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
</modules>
</args>
</adminhtml>
</routers>
</admin>
<adminhtml>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin>
<children>
<productcomments translate="label" module="Cpstest_ProductComments">
<title>CPS Product Comments</title>
<sort_order>30</sort_order>
<children>
<prdcomments translate="title">
<title>Product Comments</title>
</prdcomments>
</children>
</productcomments>
</children>
</admin>
</resources>
</acl>
</adminhtml>
Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.
– bestwebdevs
Mar 10 '17 at 17:46
Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin
– Ananth
Mar 11 '17 at 3:11
add a comment |
- Reason for error is you didn't read Alan Storm guide properly.
- Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
and global node. Magento didn't found both nodes, so it's showing
frontend 404 page not found error. - Below is example from working extension, see properly and make changes on after understand it
- You must define ACL for each parent and child menu items, it's required.
<frontend>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<routers>
<productcomments>
<use>standard</use>
<args>
<module>Cpstest_ProductComments</module>
<frontName>productcomments</frontName>
</args>
</productcomments>
</routers>
</frontend>
<admin>
<routers>
<adminhtml>
<args>
<modules>
<module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
</modules>
</args>
</adminhtml>
</routers>
</admin>
<adminhtml>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin>
<children>
<productcomments translate="label" module="Cpstest_ProductComments">
<title>CPS Product Comments</title>
<sort_order>30</sort_order>
<children>
<prdcomments translate="title">
<title>Product Comments</title>
</prdcomments>
</children>
</productcomments>
</children>
</admin>
</resources>
</acl>
</adminhtml>
- Reason for error is you didn't read Alan Storm guide properly.
- Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
and global node. Magento didn't found both nodes, so it's showing
frontend 404 page not found error. - Below is example from working extension, see properly and make changes on after understand it
- You must define ACL for each parent and child menu items, it's required.
<frontend>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<routers>
<productcomments>
<use>standard</use>
<args>
<module>Cpstest_ProductComments</module>
<frontName>productcomments</frontName>
</args>
</productcomments>
</routers>
</frontend>
<admin>
<routers>
<adminhtml>
<args>
<modules>
<module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
</modules>
</args>
</adminhtml>
</routers>
</admin>
<adminhtml>
<layout>
<updates>
<productcomments>
<file>productcomments.xml</file>
</productcomments>
</updates>
</layout>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin>
<children>
<productcomments translate="label" module="Cpstest_ProductComments">
<title>CPS Product Comments</title>
<sort_order>30</sort_order>
<children>
<prdcomments translate="title">
<title>Product Comments</title>
</prdcomments>
</children>
</productcomments>
</children>
</admin>
</resources>
</acl>
</adminhtml>
answered Mar 10 '17 at 3:27
AnanthAnanth
545 bronze badges
545 bronze badges
Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.
– bestwebdevs
Mar 10 '17 at 17:46
Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin
– Ananth
Mar 11 '17 at 3:11
add a comment |
Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.
– bestwebdevs
Mar 10 '17 at 17:46
Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin
– Ananth
Mar 11 '17 at 3:11
Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.
– bestwebdevs
Mar 10 '17 at 17:46
Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.
– bestwebdevs
Mar 10 '17 at 17:46
Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin
– Ananth
Mar 11 '17 at 3:11
Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin
– Ananth
Mar 11 '17 at 3:11
add a comment |
Alright, at last I was able to resolve this issue using this article.
Hope That helps someone!
add a comment |
Alright, at last I was able to resolve this issue using this article.
Hope That helps someone!
add a comment |
Alright, at last I was able to resolve this issue using this article.
Hope That helps someone!
Alright, at last I was able to resolve this issue using this article.
Hope That helps someone!
edited Apr 13 '17 at 12:54
Community♦
1
1
answered Mar 13 '17 at 18:22
bestwebdevsbestwebdevs
1072 silver badges14 bronze badges
1072 silver badges14 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f163694%2fresolved-admin-grid-redirects-to-front-end-page-instead-of-backend%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown