Well, Tweety asked me a question. An administrator component like Media had many layouts. How can we know which layout just based on the url?
I looked at the url.. and no.. there is no way. Internally, there are some codes which have actually set the layout, but it is not based on the core joomla framework. By right, the url should have been more informative like:
It will point to the same codes, but this will be in compliant to the Joomla core framework without relying on strange little snippets of codes that set layouts..
To sum it all, 4 different parameters in a url will determine the automatic wiring of the different files from Joomla.
| Parameter | Description |
| controller | used to determine the controller to call in the controller folder.
this is normally coded in the component entry point file.. and cannot really be said to be part of the main framework |
| view | points to the relevant view.html.php |
| layout | points to the relevant php in tmpl. layout=default will point to default.php in tmpl, while layout=form will point to form.php in tmpl |





