Timeline for Resolved - Admin Grid Redirects to Front End Page Instead of Backend
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 10, 2017 at 20:56 | comment | added | bestwebdevs | the url doesn't contain admin | |
Mar 10, 2017 at 1:46 | comment | added | Gulshan | 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 | |
Mar 10, 2017 at 1:43 | comment | added | bestwebdevs | 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. | |
Mar 10, 2017 at 1:37 | comment | added | Gulshan | 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. | |
Mar 10, 2017 at 1:32 | comment | added | bestwebdevs | When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up. | |
Mar 10, 2017 at 1:22 | comment | added | bestwebdevs | thanks, I'll make corrections right away. The controller file location is ...\app\code\local\Cpstest\ProductComments\controllers\IndexController.php | |
Mar 10, 2017 at 1:20 | history | answered | Gulshan | CC BY-SA 3.0 |