Page 6 of 7
Overrides are software files that have been edited from the standard Joomla to provide the specific functionality that we want for this website. There are currently two overrides:
- a file in mod_finder has been amended so that the Search button expands when clicked to allow a search string to be entered
- a file in com_jdownloads has been amended to modify how document lists appear in the Archive section of the website.
When the Joomla system is updated, or one of the Joomla extensions, it is possible that one of these overrides will no longer work, because the Joomla file on which the override is based has itself been edited. When this happens, the administrator Home Dashboard page will show a warning that ocerrides need checking. If this happens, do the following:
- Click the Overrides to check box;
- Click Cassiopeia_site1 Details and Files, and then if necessary click the Updated Files tab;
- You will be shown a list of override files that need checking - you can ignore any with dates and times in their file names;
- Click the override file that needs checking, to open it in an online editor;
- The editor will show the contents of the override file. There are options also to display the new Joomla file (the original), and a list of differences between the Joomla original and the override;
- Now comes the skilled bit - you need to compare the (new) Joomla original with the override file (which was based on an old Joomla original), and make sure that any changes that the Joomla development have incorporated into the new original now go into your override file. If you open the WebsiteStructure file, you can find an explanation of the software changes in the override file. Provided the changes done by the Joomla team are modest, it ought to be fairly easy to find those changes and implement them in the override file, without altering the changes that we as a village team have done deliberately.
- When you are happy with the changes to the override, click Save and Close.
- Now select the override file, and click the Checked button to show that you have checked and amended it (you can also click the Checked button for any files with date/time in their names).
