Take the 2-minute tour ×
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

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"

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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