Y
Y
yv19952016-10-27 12:49:00
Magento
yv1995, 2016-10-27 12:49:00

What is the difference between admin and adminhtml in magento?

What is the difference between admin and adminhtml in magento?
I can not understand. The difference between frontend, global and (admin and adminhtml) is clear!
It is not entirely clear why such a separation and how they differ! Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Gerasimenko, 2016-10-31
@yv1995

The <admin>tags allows you to define
- routes for the backend,
- the ACL for each module admin section
- and the theme for the admin.
The <adminhtml>tags
It's the equivalent to <frontend>for the backend.
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).
Source: magento.stackexchange.com/questions/15024/differenten...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question