开发者

Joomla: How to assign custom layout to category?

开发者 https://www.devze.com 2023-04-13 02:38 出处:网络
I have a magazine using Joomla. I need to be able to have different layouts for different issues. I copied the default template, modified it and it shows just fine in Template manager, but how do I

I have a magazine using Joomla. I need to be able to have different layouts for different issues.

I copied the default template, modified it and it shows just fine in Template manager, but how do I actually assign it to a category 开发者_如何学编程so all articles added to that category would automatically use it?

UPDATE: Solution below seems to work... however now it seems to open it correctly only when I go through the blog view and when I use my link on the front page directly to an article it uses wrong layout?


If you are using Joomla 1.6 or 1.7, you should be able to assign a template to a menu item. So if you have a menu item pointing to the blog view of a category. Set the corresponding template to that menu item. This is done in Extensions -> Template Manager -> Styles -> "Your Magazine Template"

0

精彩评论

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

关注公众号