-
AuthorPosts
-
cssdaweb Friend
cssdaweb
- Join date:
- December 2012
- Posts:
- 35
- Downloads:
- 37
- Uploads:
- 3
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
January 21, 2014 at 10:52 pm #193952I’m confused. I was under the impression that a template overrides would not be over-written during an upgrade. Earlier today, I upgraded the JAsidenews extension, then discovered that my template override (templates/ja_mero/html/mod_jasidenews/default.php) had been replaced. How do I preserve a template override from being over-written?
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 22, 2014 at 10:15 am #519372Hi cssdaweb,
In fact, the template override of module layout will NOT be overridden when upgrading that module. Only the files in modules/mod_jasidenews/ folder are replaced.
<blockquote>then discovered that my template override (templates/ja_mero/html/mod_jasidenews/default.php) had been replaced.</blockquote>
This issue just only happens when you updating the template. The most potential method to prevent your override layout modification from updating template is taking a backup of site.
Or another solution is using our compare tool to find out what our devs have updated inside the template. Then you can copy the updated changes to your current template without updating the template.
cssdaweb Friendcssdaweb
- Join date:
- December 2012
- Posts:
- 35
- Downloads:
- 37
- Uploads:
- 3
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
January 23, 2014 at 3:08 pm #519538<em>@Leo Burnetts 407078 wrote:</em><blockquote>Hi cssdaweb,
In fact, the template override of module layout will NOT be overridden when upgrading that module. Only the files in modules/mod_jasidenews/ folder are replaced.
This issue just only happens when you updating the template. The most potential method to prevent your override layout modification from updating template is taking a backup of site.
Or another solution is using our compare tool to find out what our devs have updated inside the template. Then you can copy the updated changes to your current template without updating the template.</blockquote>
Thank you for responding. My template overrides were overwritten, which from my way of thinking should not ever happen without major warnings.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 24, 2014 at 9:58 am #519668@ cssdaweb,
As I explained in my previous reply, it’s updating behavior of Joomla extensions that when you upgrade, it will replace based files/folder in that extension and will NOT affect overridden files/folder inside the template.
These files are only overwritten when you update the template. In order to prevent this, the best solution is that you use our JA Extension Manager component (JAEM) to update. Our component provides options so that you can check which files will be changed/replaced then you can make your own choice.
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by phong nam 10 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum