looeee Posted May 26, 2014 Posted May 26, 2014 I've just installed Kongondo's awesome new blog module (highly recommended by the way). It creates a number of new templates along with associated template files, which I promptly changed to match my site. This got me thinking: if I update a module which has created templates, and in the meantime I've changed those templated, is it possible for the update to overwrite my changes?
Nico Knoll Posted May 26, 2014 Posted May 26, 2014 Theoretically yes. It's possible to overwrite close to everything. But I guess that the module would check if a given field is already existing and only create a new one if not. Tl;dr: It's possible but rather unlikely.
kongondo Posted May 26, 2014 Posted May 26, 2014 In the case of Blog, if any Template File with an identical name is found, it is NOT overwritten (it will be skipped over instead). For all other items (Fields, Templates, Pages, Role) if even one identically named item is found on a site where you are trying to install Blog, then ALL these items will not be installed in order to avoid potential data loss. ProcessBlog 'Dashboard' would still be installed (although it wont be of much use; you would probably need to uninstall it )... See the README. This info is included there (have subsequently made it clearer)... Thanks!
looeee Posted May 26, 2014 Author Posted May 26, 2014 Great, thanks. I saw that in the readme - my question was related to hitting the update button in the module settings rather than during the initial install. Does the same hold there?
kongondo Posted May 27, 2014 Posted May 27, 2014 Yes...the same holds true...On an update, none of your fields, templates, template files, pages or role will be overwritten. In fact, none of these will be installed whether they exist or not. An update does not re-rerun the installer. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now