By Brandon Scivolette on Tuesday, 24 January 2017
Posted in Technical Issues
Replies 1
Likes 0
Views 276
Votes 0
I've reviewed the tutorial on template overriding and would like some clarification.

I recently made modifications to the core files for:
Origami: components\com_easyblog\themes\origami\blogs\latest\default.main.php
Wireframe: components\com_easyblog\themes\wireframe\blogs\latest\default.main.php

My expectation (based on template overrides in other components) would be to create my template override folder in the component theme directory like: components\com_easyblog\themes\customtheme. But, based on the tutorial, it looks like it should actually be in my core Joomla templates folder: mydomain\templates\customtheme

Further, on the tutorial it's a bit hard to discern the appropriate placement for the override files. In the example given it appears the correct location would be:

Origami: mydomain\templates\customtheme\html\com_easyblog\themes\origami\blogs\latest\default.main.php
Wireframe: mydomain\templates\customtheme\html\com_easyblog\themes\wireframe\blogs\latest\default.main.php

Can you confirm for me where the correct placement should be for these overrides?
Hi Brandon,
Unfortunately, it is not possible to have template overrides for more than 1 EasyBlog theme at a time.
The path for template override is like as stated in the documentation for example: JoomlaFolder\templates\yourCurrentTemplate\html\com_easyblog\blogs\latest\default.main.php
It will override your current default theme as set from your Themes page.

If you really want to have other custom themes on your site, you may do so by duplicating the theme file from another theme and renaming the folder plus the <name> field inside the .../themes/customtheme/config.xml file(http://take.ms/WbLF3).
·
Tuesday, 24 January 2017 16:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post