I'm working on creating a custom report and rather than just cut and paste code I'm trying to understand how magento layout files work better.
Magento 1.9 I'm looking at a report Products -> Most Viewed.
I've found the menu item added in
Obviously I removed a lot to just show what I'm asking questions about.
<config> <menu> <report translate="title" module="reports"> <children> <products translate="title" module="reports"> <children> <!-- Menu Item --> <viewed translate="title" module="reports"> <title>Most Viewed</title> <action>adminhtml/report_product/viewed</action> </viewed> </children> </products> </children> </report> </menu> </config>
Where it says:
I know that accesses
My question is, does the
/viewed mean it opens
Viewed.php, or subfolder
If the answer is it opens
Viewed.php, what then opens the file