开发者

How to add a layout in a template in Joomla?

开发者 https://www.devze.com 2023-01-03 03:22 出处:网络
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 po

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号