Since a couple of days I´m looking at the behaviour of the Magento backend. To comprehend I made a new grid to see a table of the bbdd. After finishing this grid I can see that I have a 404 error when try I to add a widget in a CMS page:
Debugging I can see that the error disappears if I comment this out of my custom module
<admin>
<routers>
<giftrouter>
<use>admin</use>
<args>
<module>Wpr_Giftproducts_Adminhtml</module>
<frontName>admin</frontName>
<modules>
<sintax after="Wpr_Giftproducts_Adminhtml">Mage_Adminhtml</sintax>
</modules>
</args>
</giftrouter>
</routers>
</admin>
Concretely I think that the error was caused by this:
<sintax after="Wpr_Giftproducts_Adminhtml">Mage_Adminhtml</sintax>
But I don´t understand how this config works. How can I set a custom route to avoid conflict with the widget?