3

I'm searching for info about difference between "Admin" and "Adminhtml" scope in magento config files (EX: in some etc/config.xml node ).

I think the scope of "Adminhtml" is the Presentation & Business Logic of the Magento "Admin Panel" but i'm not able to find some scope for "Admin"

3

The <admin> tags allows you to define routes for the backend, the ACL for each module admin section and the theme for the admin.
There are also some fieldsets defined in the Mage_Catalog module under this tag but the main things where you can use this tag are the 3 listed above.
[EDIT]
And you are right about the <adminhtml> tag. It's the equivalent to <frontend> for the backend (D'uh!). It allows you to define layout files, translations, events. The only think different from frontend is that it doesn't allow routes. (use <admin> for that).

  • Thanks. Did i think right about adminhtml scope ? – alesdario Feb 14 '14 at 9:16
  • @alesdario. Yes, you got it right. I added some explanations about the <adminhtml> for future readers. If you are satisfied with the answer please accept it. Don't leave loose ends. – Marius Feb 14 '14 at 9:19
  • @marius : Hello I found fieldsets in Mage_Bundle module in etc/config.xml. Can you explain what it is ? – Rajeev K Tomy Jun 8 '14 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.