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"

1 Answer 1

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

3
  • Thanks. Did i think right about adminhtml scope ?
    – alesdario
    Feb 14, 2014 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, 2014 at 9:19
  • @marius : Hello I found fieldsets in Mage_Bundle module in etc/config.xml. Can you explain what it is ? Jun 8, 2014 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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