Custom Module Grid is not working going to 404How to update admin routers of custom module for patch SUPEE-6788How to change admin login template in Magento 1.5 or 1.6Admin Order Grid overridden with custom fields cannot be filteredAdd Customs column to Admin > sales >orderadd new column with custom attribute in sales > order grid in Magento ver. 1.9.3.3Custom filter in the sales order admin grid giving Invalid block tDisplay Billing Company in Sales Order Gridhow can i add shipping carrier column in admin pageadd button inside custom column in sales order grid pageForm is not displayed on panel admin Magento 2Magento - Add customer attribute to order grid

Can I change the license of a forked project to the MIT if the license of the parent project has changed from the GPL to the MIT?

Did the Americans trade destroyers in the "destroyer deal" that they would later need themselves?

Sci-fi change: Too much or Not enough

Wand of the War Mage spellcasting focus and bonus interaction with multiclassing

What is this 4 sharp symbol and what does it mean?

What is "aligned sequences" and "consensus sequence" in the context of sequence logo? How to compute these?

Name These Animals

What are the closest international airports in different countries?

Polyhedra, Polyhedron, Polytopes and Polygon

Why did Windows 95 crash the whole system but newer Windows only crashed programs?

How many oliphaunts died in all of the Lord of the Rings battles?

ECDSA: Why is SigningKey shorter than VerifyingKey

Anti-cheating: should there be a limit to a number of toilet breaks per game per player?

Examples of simultaneous independent breakthroughs

Must a song using the A minor scale begin or end with an Am chord? If not, how can I tell what the scale is?

Going from a circuit to the quantum state output of the circuit

Is there a wealth gap in Boston where the median net worth of white households is $247,500 while the median net worth for black families was $8?

Assuring luggage isn't lost with short layover

Does dual boot harm a laptop battery or reduce its life?

Why were contact sensors put on three of the Lunar Module's four legs? Did they ever bend and stick out sideways?

2 weeks and a tight budget to prepare for Z-day. How long can I hunker down?

Desktop app status bar: Notification vs error message

If Trump gets impeached, how long would Pence be president?

How do I use JSON.generator to generate an unnamed array?



Custom Module Grid is not working going to 404


How to update admin routers of custom module for patch SUPEE-6788How to change admin login template in Magento 1.5 or 1.6Admin Order Grid overridden with custom fields cannot be filteredAdd Customs column to Admin > sales >orderadd new column with custom attribute in sales > order grid in Magento ver. 1.9.3.3Custom filter in the sales order admin grid giving Invalid block tDisplay Billing Company in Sales Order Gridhow can i add shipping carrier column in admin pageadd button inside custom column in sales order grid pageForm is not displayed on panel admin Magento 2Magento - Add customer attribute to order grid






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have created a custom module with the form and form is saving the data to DB perfectly now i want to show all the data in my admin Grid custom page.



I have tried it but when ever i visit the page it goes to 404



Here is my review.xml file where i defined the menu in the directory
app > design > adminhtml > default > default > layout with the following code in it:



 <? xml version = "1.0" ?>
<layout version="0.1.0">
<reviewmycompany_adminhtml_review_index>
<reference name="content">
<block type="reviewmycompany/adminhtml_review" name="review" />
</reference>
</reviewmycompany_adminhtml_review_index>
</layout>


And have my ReviewController.php in app > code > community > OptFirst > ReviewMyCompany > controllers > adminhtml with the following code:



 <?php

class OptFirst_ReviewMyCompany_Adminhtml_ReviewController extends Mage_Adminhtml_Controller_action


public function indexAction()
$this->loadLayout();
$this->renderLayout();


public function gridAction()

$this->loadLayout();
$this->getResponse()->setBody(
$this->getLayout()->createBlock('reviewmycompany/adminhtml_review_grid')->toHtml()
);





And my Review.php file in app > code > community > OptFirst > ReviewMyCompany > Block > adminhtml as follows



 <?php
class OptFirst_ReviewMyCompany_Block_Adminhtml_Review extends Mage_Adminhtml_Block_Widget_Grid_Container

public function __construct()

$this->_controller = 'adminhtml_review';
$this->_blockGroup = 'review';
$this->_headerText = Mage::helper('optfirst_reviewmycompany')->__('Manage Social Icons');
$this->_addButtonLabel = Mage::helper('optfirst_reviewmycompany')->__('Add Employee');
parent::__construct();




And My Grid.php files in app > code > community > OptFirst > ReviewMyCompany > Block > adminhtml >Review with the following code:



<?php

class OptFirst_ReviewMyCompany_Block_Adminhtml_Review_Grid extends Mage_Adminhtml_Block_Widget_Grid

public function __construct()

parent::__construct();
$this->setId('reviewGrid');
$this->setDefaultSort('id');
$this->setDefaultDir('ASC');
$this->setSaveParametersInSession(true);


protected function _prepareCollection()

$collection = Mage::getModel('optfirst_reviewmycompany/review')->getCollection();
$this->setCollection($collection);
return parent::_prepareCollection();


protected function _prepareColumns()

$this->addColumn('id', array(
'header' => Mage::helper('reviewmycompany')->__('ID'),
'align' =>'right',
'width' => '10px',
'index' => 'id',
));

$this->addColumn('name', array(
'header' => Mage::helper('reviewmycompany')->__('Name'),
'align' =>'left',
'index' => 'name',
'width' => '50px',
));


$this->addColumn('content', array(
'header' => Mage::helper('reviewmycompany')->__('Description'),
'width' => '150px',
'index' => 'content',
));
return parent::_prepareColumns();





So can you please look into this and let me know why it all happening why its going to 404?



Thanks!










share|improve this question
































    0















    I have created a custom module with the form and form is saving the data to DB perfectly now i want to show all the data in my admin Grid custom page.



    I have tried it but when ever i visit the page it goes to 404



    Here is my review.xml file where i defined the menu in the directory
    app > design > adminhtml > default > default > layout with the following code in it:



     <? xml version = "1.0" ?>
    <layout version="0.1.0">
    <reviewmycompany_adminhtml_review_index>
    <reference name="content">
    <block type="reviewmycompany/adminhtml_review" name="review" />
    </reference>
    </reviewmycompany_adminhtml_review_index>
    </layout>


    And have my ReviewController.php in app > code > community > OptFirst > ReviewMyCompany > controllers > adminhtml with the following code:



     <?php

    class OptFirst_ReviewMyCompany_Adminhtml_ReviewController extends Mage_Adminhtml_Controller_action


    public function indexAction()
    $this->loadLayout();
    $this->renderLayout();


    public function gridAction()

    $this->loadLayout();
    $this->getResponse()->setBody(
    $this->getLayout()->createBlock('reviewmycompany/adminhtml_review_grid')->toHtml()
    );





    And my Review.php file in app > code > community > OptFirst > ReviewMyCompany > Block > adminhtml as follows



     <?php
    class OptFirst_ReviewMyCompany_Block_Adminhtml_Review extends Mage_Adminhtml_Block_Widget_Grid_Container

    public function __construct()

    $this->_controller = 'adminhtml_review';
    $this->_blockGroup = 'review';
    $this->_headerText = Mage::helper('optfirst_reviewmycompany')->__('Manage Social Icons');
    $this->_addButtonLabel = Mage::helper('optfirst_reviewmycompany')->__('Add Employee');
    parent::__construct();




    And My Grid.php files in app > code > community > OptFirst > ReviewMyCompany > Block > adminhtml >Review with the following code:



    <?php

    class OptFirst_ReviewMyCompany_Block_Adminhtml_Review_Grid extends Mage_Adminhtml_Block_Widget_Grid

    public function __construct()

    parent::__construct();
    $this->setId('reviewGrid');
    $this->setDefaultSort('id');
    $this->setDefaultDir('ASC');
    $this->setSaveParametersInSession(true);


    protected function _prepareCollection()

    $collection = Mage::getModel('optfirst_reviewmycompany/review')->getCollection();
    $this->setCollection($collection);
    return parent::_prepareCollection();


    protected function _prepareColumns()

    $this->addColumn('id', array(
    'header' => Mage::helper('reviewmycompany')->__('ID'),
    'align' =>'right',
    'width' => '10px',
    'index' => 'id',
    ));

    $this->addColumn('name', array(
    'header' => Mage::helper('reviewmycompany')->__('Name'),
    'align' =>'left',
    'index' => 'name',
    'width' => '50px',
    ));


    $this->addColumn('content', array(
    'header' => Mage::helper('reviewmycompany')->__('Description'),
    'width' => '150px',
    'index' => 'content',
    ));
    return parent::_prepareColumns();





    So can you please look into this and let me know why it all happening why its going to 404?



    Thanks!










    share|improve this question




























      0












      0








      0








      I have created a custom module with the form and form is saving the data to DB perfectly now i want to show all the data in my admin Grid custom page.



      I have tried it but when ever i visit the page it goes to 404



      Here is my review.xml file where i defined the menu in the directory
      app > design > adminhtml > default > default > layout with the following code in it:



       <? xml version = "1.0" ?>
      <layout version="0.1.0">
      <reviewmycompany_adminhtml_review_index>
      <reference name="content">
      <block type="reviewmycompany/adminhtml_review" name="review" />
      </reference>
      </reviewmycompany_adminhtml_review_index>
      </layout>


      And have my ReviewController.php in app > code > community > OptFirst > ReviewMyCompany > controllers > adminhtml with the following code:



       <?php

      class OptFirst_ReviewMyCompany_Adminhtml_ReviewController extends Mage_Adminhtml_Controller_action


      public function indexAction()
      $this->loadLayout();
      $this->renderLayout();


      public function gridAction()

      $this->loadLayout();
      $this->getResponse()->setBody(
      $this->getLayout()->createBlock('reviewmycompany/adminhtml_review_grid')->toHtml()
      );





      And my Review.php file in app > code > community > OptFirst > ReviewMyCompany > Block > adminhtml as follows



       <?php
      class OptFirst_ReviewMyCompany_Block_Adminhtml_Review extends Mage_Adminhtml_Block_Widget_Grid_Container

      public function __construct()

      $this->_controller = 'adminhtml_review';
      $this->_blockGroup = 'review';
      $this->_headerText = Mage::helper('optfirst_reviewmycompany')->__('Manage Social Icons');
      $this->_addButtonLabel = Mage::helper('optfirst_reviewmycompany')->__('Add Employee');
      parent::__construct();




      And My Grid.php files in app > code > community > OptFirst > ReviewMyCompany > Block > adminhtml >Review with the following code:



      <?php

      class OptFirst_ReviewMyCompany_Block_Adminhtml_Review_Grid extends Mage_Adminhtml_Block_Widget_Grid

      public function __construct()

      parent::__construct();
      $this->setId('reviewGrid');
      $this->setDefaultSort('id');
      $this->setDefaultDir('ASC');
      $this->setSaveParametersInSession(true);


      protected function _prepareCollection()

      $collection = Mage::getModel('optfirst_reviewmycompany/review')->getCollection();
      $this->setCollection($collection);
      return parent::_prepareCollection();


      protected function _prepareColumns()

      $this->addColumn('id', array(
      'header' => Mage::helper('reviewmycompany')->__('ID'),
      'align' =>'right',
      'width' => '10px',
      'index' => 'id',
      ));

      $this->addColumn('name', array(
      'header' => Mage::helper('reviewmycompany')->__('Name'),
      'align' =>'left',
      'index' => 'name',
      'width' => '50px',
      ));


      $this->addColumn('content', array(
      'header' => Mage::helper('reviewmycompany')->__('Description'),
      'width' => '150px',
      'index' => 'content',
      ));
      return parent::_prepareColumns();





      So can you please look into this and let me know why it all happening why its going to 404?



      Thanks!










      share|improve this question
















      I have created a custom module with the form and form is saving the data to DB perfectly now i want to show all the data in my admin Grid custom page.



      I have tried it but when ever i visit the page it goes to 404



      Here is my review.xml file where i defined the menu in the directory
      app > design > adminhtml > default > default > layout with the following code in it:



       <? xml version = "1.0" ?>
      <layout version="0.1.0">
      <reviewmycompany_adminhtml_review_index>
      <reference name="content">
      <block type="reviewmycompany/adminhtml_review" name="review" />
      </reference>
      </reviewmycompany_adminhtml_review_index>
      </layout>


      And have my ReviewController.php in app > code > community > OptFirst > ReviewMyCompany > controllers > adminhtml with the following code:



       <?php

      class OptFirst_ReviewMyCompany_Adminhtml_ReviewController extends Mage_Adminhtml_Controller_action


      public function indexAction()
      $this->loadLayout();
      $this->renderLayout();


      public function gridAction()

      $this->loadLayout();
      $this->getResponse()->setBody(
      $this->getLayout()->createBlock('reviewmycompany/adminhtml_review_grid')->toHtml()
      );





      And my Review.php file in app > code > community > OptFirst > ReviewMyCompany > Block > adminhtml as follows



       <?php
      class OptFirst_ReviewMyCompany_Block_Adminhtml_Review extends Mage_Adminhtml_Block_Widget_Grid_Container

      public function __construct()

      $this->_controller = 'adminhtml_review';
      $this->_blockGroup = 'review';
      $this->_headerText = Mage::helper('optfirst_reviewmycompany')->__('Manage Social Icons');
      $this->_addButtonLabel = Mage::helper('optfirst_reviewmycompany')->__('Add Employee');
      parent::__construct();




      And My Grid.php files in app > code > community > OptFirst > ReviewMyCompany > Block > adminhtml >Review with the following code:



      <?php

      class OptFirst_ReviewMyCompany_Block_Adminhtml_Review_Grid extends Mage_Adminhtml_Block_Widget_Grid

      public function __construct()

      parent::__construct();
      $this->setId('reviewGrid');
      $this->setDefaultSort('id');
      $this->setDefaultDir('ASC');
      $this->setSaveParametersInSession(true);


      protected function _prepareCollection()

      $collection = Mage::getModel('optfirst_reviewmycompany/review')->getCollection();
      $this->setCollection($collection);
      return parent::_prepareCollection();


      protected function _prepareColumns()

      $this->addColumn('id', array(
      'header' => Mage::helper('reviewmycompany')->__('ID'),
      'align' =>'right',
      'width' => '10px',
      'index' => 'id',
      ));

      $this->addColumn('name', array(
      'header' => Mage::helper('reviewmycompany')->__('Name'),
      'align' =>'left',
      'index' => 'name',
      'width' => '50px',
      ));


      $this->addColumn('content', array(
      'header' => Mage::helper('reviewmycompany')->__('Description'),
      'width' => '150px',
      'index' => 'content',
      ));
      return parent::_prepareColumns();





      So can you please look into this and let me know why it all happening why its going to 404?



      Thanks!







      magento-1.9 adminhtml grid 404






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 26 '16 at 14:49







      Xabby

















      asked Nov 25 '16 at 17:17









      XabbyXabby

      3543 silver badges14 bronze badges




      3543 silver badges14 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0














          In the SUPEE-6788 Magento changed the admin routing to stop plugin vendors defining there own frontname. i.e. all admin routes must now be under the admin route rather than a user defined route. Any custom admin routes will 404.



          To test if this is the case you can enable compatibility mode in the admin System > Configuration > Advanced > Admin. If your module then starts working you will know that this is the issue.



          Here's another post describing the issue in detail How to update admin routers of custom module for patch SUPEE-6788



          The layout xml node is based on the admin route url.



          <layout version="0.1.0">
          <reviewmycompany_adminhtml_review_index>
          <reference name="content">
          <block type="reviewmycompany/adminhtml_review" name="review" />
          </reference>
          </reviewmycompany_adminhtml_review_index>
          </layout>


          reviewmycompany_adminhtml_review_index



          should be



          adminhtml_reviewmycompany_review_index



          But you'll need to check your config in config.xml admin route node



          <admin>
          <route>

          </route>
          </admin>





          share|improve this answer



























          • my admin routes in config.xml is like this: <admin> <routers> <adminhtml> <args> <modules> <optfirst_reviewmycompany after="Mage_Adminhtml">OptFirst_ReviewMyCompany_Adminhtml</optfirst_reviewmycompany> </modules> </args> </adminhtml> </routers> </admin>

            – Xabby
            Nov 26 '16 at 11:14











          • Well that looks okay. I'd try changing your layout xml node from reviewmycompany_adminhtml_review_index to adminhtml_reviewmycompany_review_index

            – Weaves81
            Nov 26 '16 at 11:56












          • Thats fixed .. Now Grid is not loading and not showing any data on the page, instead of it showing blank white page.. @Weaves81

            – Xabby
            Nov 26 '16 at 13:46











          • Ah yep see the issue there. Within layout XML content section you have a block type reviewmycompany/adminhtml_review try changing that to adminhtml/reviewcompany_review for the same reason that we changed the node

            – Weaves81
            Nov 26 '16 at 14:28












          • SO for what reason now its not showing grid container? but when i echo any thing in my controller index method it print, but not the grid

            – Xabby
            Nov 26 '16 at 14:42













          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f147564%2fcustom-module-grid-is-not-working-going-to-404%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          In the SUPEE-6788 Magento changed the admin routing to stop plugin vendors defining there own frontname. i.e. all admin routes must now be under the admin route rather than a user defined route. Any custom admin routes will 404.



          To test if this is the case you can enable compatibility mode in the admin System > Configuration > Advanced > Admin. If your module then starts working you will know that this is the issue.



          Here's another post describing the issue in detail How to update admin routers of custom module for patch SUPEE-6788



          The layout xml node is based on the admin route url.



          <layout version="0.1.0">
          <reviewmycompany_adminhtml_review_index>
          <reference name="content">
          <block type="reviewmycompany/adminhtml_review" name="review" />
          </reference>
          </reviewmycompany_adminhtml_review_index>
          </layout>


          reviewmycompany_adminhtml_review_index



          should be



          adminhtml_reviewmycompany_review_index



          But you'll need to check your config in config.xml admin route node



          <admin>
          <route>

          </route>
          </admin>





          share|improve this answer



























          • my admin routes in config.xml is like this: <admin> <routers> <adminhtml> <args> <modules> <optfirst_reviewmycompany after="Mage_Adminhtml">OptFirst_ReviewMyCompany_Adminhtml</optfirst_reviewmycompany> </modules> </args> </adminhtml> </routers> </admin>

            – Xabby
            Nov 26 '16 at 11:14











          • Well that looks okay. I'd try changing your layout xml node from reviewmycompany_adminhtml_review_index to adminhtml_reviewmycompany_review_index

            – Weaves81
            Nov 26 '16 at 11:56












          • Thats fixed .. Now Grid is not loading and not showing any data on the page, instead of it showing blank white page.. @Weaves81

            – Xabby
            Nov 26 '16 at 13:46











          • Ah yep see the issue there. Within layout XML content section you have a block type reviewmycompany/adminhtml_review try changing that to adminhtml/reviewcompany_review for the same reason that we changed the node

            – Weaves81
            Nov 26 '16 at 14:28












          • SO for what reason now its not showing grid container? but when i echo any thing in my controller index method it print, but not the grid

            – Xabby
            Nov 26 '16 at 14:42















          0














          In the SUPEE-6788 Magento changed the admin routing to stop plugin vendors defining there own frontname. i.e. all admin routes must now be under the admin route rather than a user defined route. Any custom admin routes will 404.



          To test if this is the case you can enable compatibility mode in the admin System > Configuration > Advanced > Admin. If your module then starts working you will know that this is the issue.



          Here's another post describing the issue in detail How to update admin routers of custom module for patch SUPEE-6788



          The layout xml node is based on the admin route url.



          <layout version="0.1.0">
          <reviewmycompany_adminhtml_review_index>
          <reference name="content">
          <block type="reviewmycompany/adminhtml_review" name="review" />
          </reference>
          </reviewmycompany_adminhtml_review_index>
          </layout>


          reviewmycompany_adminhtml_review_index



          should be



          adminhtml_reviewmycompany_review_index



          But you'll need to check your config in config.xml admin route node



          <admin>
          <route>

          </route>
          </admin>





          share|improve this answer



























          • my admin routes in config.xml is like this: <admin> <routers> <adminhtml> <args> <modules> <optfirst_reviewmycompany after="Mage_Adminhtml">OptFirst_ReviewMyCompany_Adminhtml</optfirst_reviewmycompany> </modules> </args> </adminhtml> </routers> </admin>

            – Xabby
            Nov 26 '16 at 11:14











          • Well that looks okay. I'd try changing your layout xml node from reviewmycompany_adminhtml_review_index to adminhtml_reviewmycompany_review_index

            – Weaves81
            Nov 26 '16 at 11:56












          • Thats fixed .. Now Grid is not loading and not showing any data on the page, instead of it showing blank white page.. @Weaves81

            – Xabby
            Nov 26 '16 at 13:46











          • Ah yep see the issue there. Within layout XML content section you have a block type reviewmycompany/adminhtml_review try changing that to adminhtml/reviewcompany_review for the same reason that we changed the node

            – Weaves81
            Nov 26 '16 at 14:28












          • SO for what reason now its not showing grid container? but when i echo any thing in my controller index method it print, but not the grid

            – Xabby
            Nov 26 '16 at 14:42













          0












          0








          0







          In the SUPEE-6788 Magento changed the admin routing to stop plugin vendors defining there own frontname. i.e. all admin routes must now be under the admin route rather than a user defined route. Any custom admin routes will 404.



          To test if this is the case you can enable compatibility mode in the admin System > Configuration > Advanced > Admin. If your module then starts working you will know that this is the issue.



          Here's another post describing the issue in detail How to update admin routers of custom module for patch SUPEE-6788



          The layout xml node is based on the admin route url.



          <layout version="0.1.0">
          <reviewmycompany_adminhtml_review_index>
          <reference name="content">
          <block type="reviewmycompany/adminhtml_review" name="review" />
          </reference>
          </reviewmycompany_adminhtml_review_index>
          </layout>


          reviewmycompany_adminhtml_review_index



          should be



          adminhtml_reviewmycompany_review_index



          But you'll need to check your config in config.xml admin route node



          <admin>
          <route>

          </route>
          </admin>





          share|improve this answer















          In the SUPEE-6788 Magento changed the admin routing to stop plugin vendors defining there own frontname. i.e. all admin routes must now be under the admin route rather than a user defined route. Any custom admin routes will 404.



          To test if this is the case you can enable compatibility mode in the admin System > Configuration > Advanced > Admin. If your module then starts working you will know that this is the issue.



          Here's another post describing the issue in detail How to update admin routers of custom module for patch SUPEE-6788



          The layout xml node is based on the admin route url.



          <layout version="0.1.0">
          <reviewmycompany_adminhtml_review_index>
          <reference name="content">
          <block type="reviewmycompany/adminhtml_review" name="review" />
          </reference>
          </reviewmycompany_adminhtml_review_index>
          </layout>


          reviewmycompany_adminhtml_review_index



          should be



          adminhtml_reviewmycompany_review_index



          But you'll need to check your config in config.xml admin route node



          <admin>
          <route>

          </route>
          </admin>






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:55









          Community

          1




          1










          answered Nov 25 '16 at 22:14









          Weaves81Weaves81

          1717 bronze badges




          1717 bronze badges















          • my admin routes in config.xml is like this: <admin> <routers> <adminhtml> <args> <modules> <optfirst_reviewmycompany after="Mage_Adminhtml">OptFirst_ReviewMyCompany_Adminhtml</optfirst_reviewmycompany> </modules> </args> </adminhtml> </routers> </admin>

            – Xabby
            Nov 26 '16 at 11:14











          • Well that looks okay. I'd try changing your layout xml node from reviewmycompany_adminhtml_review_index to adminhtml_reviewmycompany_review_index

            – Weaves81
            Nov 26 '16 at 11:56












          • Thats fixed .. Now Grid is not loading and not showing any data on the page, instead of it showing blank white page.. @Weaves81

            – Xabby
            Nov 26 '16 at 13:46











          • Ah yep see the issue there. Within layout XML content section you have a block type reviewmycompany/adminhtml_review try changing that to adminhtml/reviewcompany_review for the same reason that we changed the node

            – Weaves81
            Nov 26 '16 at 14:28












          • SO for what reason now its not showing grid container? but when i echo any thing in my controller index method it print, but not the grid

            – Xabby
            Nov 26 '16 at 14:42

















          • my admin routes in config.xml is like this: <admin> <routers> <adminhtml> <args> <modules> <optfirst_reviewmycompany after="Mage_Adminhtml">OptFirst_ReviewMyCompany_Adminhtml</optfirst_reviewmycompany> </modules> </args> </adminhtml> </routers> </admin>

            – Xabby
            Nov 26 '16 at 11:14











          • Well that looks okay. I'd try changing your layout xml node from reviewmycompany_adminhtml_review_index to adminhtml_reviewmycompany_review_index

            – Weaves81
            Nov 26 '16 at 11:56












          • Thats fixed .. Now Grid is not loading and not showing any data on the page, instead of it showing blank white page.. @Weaves81

            – Xabby
            Nov 26 '16 at 13:46











          • Ah yep see the issue there. Within layout XML content section you have a block type reviewmycompany/adminhtml_review try changing that to adminhtml/reviewcompany_review for the same reason that we changed the node

            – Weaves81
            Nov 26 '16 at 14:28












          • SO for what reason now its not showing grid container? but when i echo any thing in my controller index method it print, but not the grid

            – Xabby
            Nov 26 '16 at 14:42
















          my admin routes in config.xml is like this: <admin> <routers> <adminhtml> <args> <modules> <optfirst_reviewmycompany after="Mage_Adminhtml">OptFirst_ReviewMyCompany_Adminhtml</optfirst_reviewmycompany> </modules> </args> </adminhtml> </routers> </admin>

          – Xabby
          Nov 26 '16 at 11:14





          my admin routes in config.xml is like this: <admin> <routers> <adminhtml> <args> <modules> <optfirst_reviewmycompany after="Mage_Adminhtml">OptFirst_ReviewMyCompany_Adminhtml</optfirst_reviewmycompany> </modules> </args> </adminhtml> </routers> </admin>

          – Xabby
          Nov 26 '16 at 11:14













          Well that looks okay. I'd try changing your layout xml node from reviewmycompany_adminhtml_review_index to adminhtml_reviewmycompany_review_index

          – Weaves81
          Nov 26 '16 at 11:56






          Well that looks okay. I'd try changing your layout xml node from reviewmycompany_adminhtml_review_index to adminhtml_reviewmycompany_review_index

          – Weaves81
          Nov 26 '16 at 11:56














          Thats fixed .. Now Grid is not loading and not showing any data on the page, instead of it showing blank white page.. @Weaves81

          – Xabby
          Nov 26 '16 at 13:46





          Thats fixed .. Now Grid is not loading and not showing any data on the page, instead of it showing blank white page.. @Weaves81

          – Xabby
          Nov 26 '16 at 13:46













          Ah yep see the issue there. Within layout XML content section you have a block type reviewmycompany/adminhtml_review try changing that to adminhtml/reviewcompany_review for the same reason that we changed the node

          – Weaves81
          Nov 26 '16 at 14:28






          Ah yep see the issue there. Within layout XML content section you have a block type reviewmycompany/adminhtml_review try changing that to adminhtml/reviewcompany_review for the same reason that we changed the node

          – Weaves81
          Nov 26 '16 at 14:28














          SO for what reason now its not showing grid container? but when i echo any thing in my controller index method it print, but not the grid

          – Xabby
          Nov 26 '16 at 14:42





          SO for what reason now its not showing grid container? but when i echo any thing in my controller index method it print, but not the grid

          – Xabby
          Nov 26 '16 at 14:42

















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f147564%2fcustom-module-grid-is-not-working-going-to-404%23new-answer', 'question_page');

          );

          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







          Popular posts from this blog

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?