-
AuthorPosts
-
July 26, 2013 at 1:42 am #189239
Greetings,
New to the T3 framework, and I’m working with the blank template. Just updated the template and framework via extension manager and it overwrote a number the changes I’d made to my template. Makes sense that it would, but it got me wondering what was/is the proper way to make changes to the templates/blocks/etc while still being able to make updates when they come out?
Thanks in advance 😀
Jb
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 27, 2013 at 10:31 am #500320Hi jbw6952,
The proper way how to customize our T3 framework layouts is explained with detailed visiual graphics in our T3 framework documents. In addition, I suggest you to backup your modified files and use our JAEM component to update our framework/template.
Scott Lavelle FriendScott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
July 28, 2013 at 2:15 am #500346So – if I make copies of my changes so that I can re-incorporate them after the upgrade, how to I deal with the fact that sometimes the upgrades add stuff to the very files I’d be bringing my changes back into.
For example, I make a lot of Variables.less and template-responsive.less file changes for my custom templates. If I upgrade the framework and/or the T3_blank template, it seems that these two files would often have changes/improvements in them. If I copy my changes prior to the upgrade and then paste my stuff back in over the replaced files, wouldn’t I lose the benefits of the updated files?
I understand that changes that I make to custom.css would not get overwritten and many times the files I’ve changes in the less folder may not have changes in them, it’s totally possible that I’m replacing “fixed” code with my customizations.
Make sense?
<em>@Leo Burnetts 382413 wrote:</em><blockquote>Hi jbw6952,
The proper way how to customize our T3 framework layouts is explained with detailed visiual graphics in our T3 framework documents. In addition, I suggest you to backup your modified files and use our JAEM component to update our framework/template.</blockquote>
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administrator1 user says Thank You to Scott Lavelle for this useful post
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 28, 2013 at 6:18 am #500352Hi Scott,
Thank you for sharing your experiences. These are really useful !
@jbw6952: I just want to add one more simple tip for you to protect your modified changes. Each time we plubish a new update of template, we also include the changelog in the download link with “Compare” function that allows users to compare the changes between the files of old version and new update. Physically, you can copy the new updated codes in to current files without updating our template totally.Note: This method will be effective on template update only which always includes the bug fix in new update with small changes on origional files.
Scott Lavelle FriendScott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
July 28, 2013 at 1:18 pm #500360Leo, thanks for thanking me, but it was really a question I had, not a comment.
I understand that the template changes will come with a changelog of what was changed, but they only have those at a summary level, not the actual code that was added, changed, or removed, so there isn’t an easy way to apply the new version AND then paste in my changed version, preserving the new code that was added by Joomlart for bug fix/upgrade.
Thoughts?
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administratorphong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 29, 2013 at 2:43 am #500393Hi Scott,
Maybe I didn’t explain in details about that comparing feature, its comparing tool will allow users to see the changed files with corresponding added/removed codes. Every users can access this feaure, i.e: http://update.joomlart.com/#compare/T3BLANK/1.4.0/1.3.1
-
Scott Lavelle Friend
Scott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
July 29, 2013 at 10:44 am #500463Leo – useful, if not a bit of a pain to have to go through with each upgrade…
However, what’s missing here is the ability to compare the .less files, or at least that’s how it looks. You can see the changes to the .css files, but the .less files have to compare button, so I’d imagine if I changed the less file, then upgrades, then dropped my modified less file over the upgraded one, then recompiled, I’d lose the mentioned css changes, which is what I’m trying to avoid.
So, fo example, take a look at the change you linked to, then scroll all the way down to template-responsive.less and you’d see that it is marked as changed, but there is no compare link to go to. I checked other version comparisons as well, but didn’t see anything on them either.
Any ideas here?
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administratorphong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 30, 2013 at 3:12 am #500532Hi Scott,
Thank you for your feedback. Our forum admin has already enabled the “Compare” button for .less files on the Comparing tool of our update system. You can enjoy it now at http://update.joomlart.com/#compare/T3BLANK/1.4.0/1.3.1
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by phong nam 11 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum