T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Dani
  2. Sherlock Holmes
  3. General Discussion
  4. Tuesday, 03 December 2013
  5.  Subscribe via email
Hello, how can I have different template overrides for different menu items ? I want the blog view to appear different on the homepage and on the information page. When I override the blog view template, then it applies for all pages, not only for the homepage.

In templates folder I have one frontend subfolder:
* t3_blank

In Template Manager: Styles, I have frontend 3 styles, all have T3_blank as Template:
* t3_blank - Default (not assigned, safe to delete?)
* General
* Homepage

I have two styles:
* Homepage (using homepage theme and home-layout.php, assigned to only homepage)
* General (using general theme and general-layout.php, assigned to all menu items, except homepage)

I have overriden article/category templates in t3_blank\html\com_content\category, but unfortunately that applies for all styles, not only for the home layout.
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
I think I solved this. The solution is to use Alternative Menu Items
http://docs.joomla.org/Layout_Overrides_in_Joomla
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Dani,

Yes, you are right.
Joomla provide Alternative Menu Items overwrite.
We also use this feature for our template (Ja Magz, JA Fixel, ..)

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.