Giving your Joomla Blog section a different Template

Did you know you can assign different templates to different sections that are called on by your Joomla menu?

Let’s say you want your Joomla Blog categories to have a different Template then the rest of your website, how would you do  this?

First you have to create a menu item that holds your section, or the categories like you did in Creating your Blog Menu

Now go to “Site” -> “Template manager” -> ” Site Templates” and there select the template you want to use.
Then click the “Assign” button in the upper right menu of the screen.

Now you can select the menu item(s) that should show the different layout.

Assign Template to Home

After that, you should see something linke the screen below.

Assigned template in Joomla

Go to the Frontpage of your website, and try the link yourself, look if it works…it does…!

If you want to reverse the process, simply push assign again and choose the top choice “None”.

So, where could you run into trouble and how to fix it…. for this to work, you should select two (or more) templates that have the same modules like ” left”, “right” end other positions you want to use, since you can only assign a module to one position.

If you have a template that works the wrong way, you could try to chance position calls in the index.php of the template (via the HTML editor in your template manager) .
For example, your want your menu to appear in “left”, but your new Blog template only has a ” right” column.
Go into the Blog template HTML and simply change “right” into “left” and see how that works out.

I know, it is so simple, you just don’t think about it this way…

Other Articles of Intrest:

Comment Rules as of November 15 2011:

You have to use a valid email address. If you've not commented here before, you'll receive a confirmation email to make sure your email address is valid and working, clicking the link in that email will immediately post your comment.

Links in comments that are not related to the topic (such as "signature links") will be deleted. Using keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either.

Comments

  1. Prokka says:

    Thank you so much for this article! It is right what I needed!

    Best regards,
    Prokka

  2. Kevin says:

    Thanks for this information, just what I was looking for.

    Keywords :

    Change joomla template for different categories.

    Change joomla template for different sections.

  3. Letsnurture says:

    Thanks buddy, I’ve just wanted to override the template for landing page in Joomla.

    In drupal, we could achieve this by placing page-front.tpl.php in current theme directory for landing page and for any node-type, it is page-nodetype.tpl.php.

    You are such a lifesaver!!!!

    Web-Farmer
    @letsnurture.com

  4. web guy says:

    Thanks! I was trying to figure out if two templates could be used for different components in Joomla. Exactly what I was looking for. So simple!

  5. Brandon Briggs says:

    Thanks a lot for the great information. I will be directly customers to your website in some of my upcoming video courses.

    Best Regards,

    Brandon Briggs
    Joomla Gold Video Series

  6. Aaron says:

    If seen this question about using two templates in the Joomla forums. You explained it a lot clearer, now I’m not afraid to give t a try. Thanks for sharing your knowledge.

Speak Your Mind

*