? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
28 Apr 2017

Summary of Changes

We've remove the SQL to install mod_footer in Joomla 4 as we went with a custom module instead. So this PR also removes the mod_footer directory.

100% B/C.

3.x to 4.x won't be affected as we're not uninstalling it via com_admin

Testing Instructions

Just a code review needed

@brianteeman

avatar C-Lodder C-Lodder - open - 28 Apr 2017
avatar C-Lodder C-Lodder - change - 28 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Apr 2017
Category Modules Front End
avatar C-Lodder C-Lodder - change - 28 Apr 2017
The description was changed
avatar C-Lodder C-Lodder - edited - 28 Apr 2017
avatar C-Lodder C-Lodder - change - 28 Apr 2017
The description was changed
avatar C-Lodder C-Lodder - edited - 28 Apr 2017
avatar C-Lodder C-Lodder - change - 28 Apr 2017
The description was changed
avatar C-Lodder C-Lodder - edited - 28 Apr 2017
avatar brianteeman
brianteeman - comment - 28 Apr 2017

Looks good to me.

(At some point we will need to make sure that all the file changes are handled correctly in the ugrade scripts)

avatar brianteeman
brianteeman - comment - 28 Apr 2017

Just a thought

We are not including it on new installs but are keeping it on upgrades.

Potentially this could cause a problem in the future if there were any bugs or security issues with the module as it wouldnt be maintained any more

avatar brianteeman
brianteeman - comment - 28 Apr 2017

The more I think about this the more issues i see going forward. We will end up in the situation that all sites which have been updated will have a core module on their site (that is not mantained) and all new sites will not have the same core modules.

This will create lots of issues for example a template club which uses the footer module on a J3 site will need to either not use that module anymore or have code to see if the module exists or not.

Removing it from new installs only just because we dont need to use it (or there is a better way) is not a good idea

avatar C-Lodder
C-Lodder - comment - 28 Apr 2017

How was it done for weblinks?

avatar brianteeman
brianteeman - comment - 28 Apr 2017

Weblinks is different because it was not abandoned but became a standalone extension in itss own right so that users on new installs could still install it if they wanted to and so that if there were any bugs we had a method to push an update to weblinks

avatar C-Lodder
C-Lodder - comment - 28 Apr 2017

Thing with mod_footer is that it's completely the wrong approach. Hardcoding a string based on a language constant, which doesn't allow the user to customize it to their needs without having to find the language string and override it.

Most big template providers I know either have a textarea in the template settings of make use of a custom module.

I know where you're coming from, but based on the above, I'm still in favour of this PR.

Let's see what others have to say I suppose.

avatar brianteeman
brianteeman - comment - 28 Apr 2017

I am not disagreeing with not using the module - just that we need to think carefully before it is removed in this way

avatar mbabker
mbabker - comment - 28 Apr 2017

If we intend to remove it (which IMO we're fine to do), we should properly uninstall it from all sites. If we're going to keep it installed and usable in existing sites, we will have to extract it to a repo and put the info needed into the core package to add an update server for it (as was done when the weblinks code was extracted). It's bad news for us to strip out a core extension but leave it installed as abandonware on user sites.

avatar brianteeman
brianteeman - comment - 28 Apr 2017

With our track record with decoupled extensions its easier all round just to keep it ;)

avatar C-Lodder C-Lodder - change - 12 May 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-05-12 22:48:00
Closed_By C-Lodder
Labels Added: ?
avatar C-Lodder C-Lodder - close - 12 May 2017

Add a Comment

Login with GitHub to post a comment