title: Joomla: How to assign custom layout to category?
body: <p>I have a magazine using Joomla. I need to be able to have different layouts for different issues. </p>
  
  <p>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?</p>
  
  <p>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?</p>