Reputation: 617
i am trying to implement a custom template override for category blog. So:
I have copied: templates/gk_startup/html/com_content/category/blog.php and renamed to: templates/gk_startup/html/com_content/category/newsletter.php
I have created a category named: Newsletter and set Alternative Layout to "newsletter".
I have created a menu item of type: Articles/Category Blog and chosen category "Newsletter" to display.
However in the front end i can see that the blog.php "default" template for category blog is still used.
What am i missing here?
Upvotes: 0
Views: 279
Reputation: 617
Managed to accomplish what i was looking for by creating an alternate category blog layout as described here:
So only by creating an override for the menu items also (specifying newsletter.xml in components/com_content/views/category/tmpl) i was able to use my newsletter override initially created in templates/gk_startup/html/com_content/category
Hope that helps in some cases
Upvotes: 0