1. dautrich
  2. Sherlock Holmes The Voice
  3. General
  4. Friday, 01 July 2022
  5.  Subscribe via email
Hi Ciaran

I have a general issue regarding template override warnings in J4. The issue is not new, but newly surfaced in Joomla 4. After (more or less) each Joomla update, webmasters find a list of template overrides to deal with. In my understanding, most Joomlers (including me) are unsure about what to do.

Let me first describe in my own words what happens: As a template designer, you produce overrides of core files, which you typically put into the html folder of your template. These overrides are based on the most recent version of Joomla at the time you produce your override. Some time after that, the core team applies changes to the original core file for any reason (may sometimes be a cosmetic issue, but might even be a security fix). The core team's changes make it to the next Joomla update. When a webmaster updates his Joomla version, he gets a template override warning. (I hope I got the process correct so far.)

What can the webmaster do after getting these warnings? In theory, he has to check each and every override listed. To do a qualified check, he must be able to understand PHP code, he needs to know Joomla internals, and he needs to understand, what the developer of his template intended. That's almost impossible for most Joomlers, including myself.

In an ideal world, you as the developer of the template would have to check each core update resulting in such a warning and merge your updates with the core team's. This would result in an updated version of your template after each non-trivial core update.

What is your position regarding this update process? What is your advice for webmasters like me? Just trust in god and check all the involved files as checked? Or will you provide an update of your template whenever there are relevant changes to the core files?

Best regards

Rolf
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Rolf

The only updates that you really need to be concerned about is if an update was to fix a security breach, however, it is very rare that such a fix would be required of the view files. If such a fix was required then we would certainly try to swiftly create an update for the template and its override, presuming that the override included the issue.

Usually, such updates would be to either fix a bug that was in the core view or add some additional feature. Previously it was difficult to notice these updates when they happened which was why this 'Updated Files' tab was added to Joomla. With this tab you can now check if this is an update which will affect you and if you wish to add it to your own override. Admittedly some PHP would come in handy for this usually you will find that the updates are easy enough to understand as long as you have some basic HTML.

Ciaran
  1. more than a month ago
  2. General
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran

To express your answer in my words: If necessary (i.e. in case of a security issue), you will take care of the change and prepare a new version of your template. Therefore, the only thing to do for me is to click these updates as checked and forget about them. Correct?

Thx and regards

Rolf
  1. more than a month ago
  2. General
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Rolf

Unless you notice an issue with that particular override or you are finding that a new Joomla feature is not working as expected, then I believe it is safe for you to mark the override as up to date.

Ciaran
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!