How to add a layout in a template in Joomla?
I'd like to add an additional layout to one of the 开发者_StackOverflow中文版core components.
Is there a way to do this in a template without adding any files to the Joomla core installation?
This possibility appeared in the Joomla 1.6
: Introduction to Alternative Layout Feature in Version 1.6
In the template directory you can add a file called components/$name.html.php, where $name is the name of the component without the com_ prefix. Then it should pick up this file instead of the one supplied with core joomla.
精彩评论