User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
update-cmts-2.x-2.4 [2017/08/21 15:57]
95.171.52.104
update-cmts-2.x-2.4 [2017/08/21 16:44] (current)
95.171.52.104
Line 10: Line 10:
   - remove from .htaccess: ^video, ^playvideo, all "​TinyMCE Integration",​ "​htc"​-Rule   - remove from .htaccess: ^video, ^playvideo, all "​TinyMCE Integration",​ "​htc"​-Rule
   - backup and delete all folders in /common/img except the users img folder   - backup and delete all folders in /common/img except the users img folder
 +  - move images in the users img folder to /​upload/​img/​
 +  - backup and delete /common/img
   - backup and delete all /​common/​html/​cmts.*html and /​common/​html/​section.html   - backup and delete all /​common/​html/​cmts.*html and /​common/​html/​section.html
   - backup and delete all /​common/​css/​cmts*.css and jquery*.css and any other module related css   - backup and delete all /​common/​css/​cmts*.css and jquery*.css and any other module related css
   - rename /​common/​css/​css3.less to cmts.less   - rename /​common/​css/​css3.less to cmts.less
   - create /​common/​css/​config.less and move all variables / mixin definition from the top of layout.less until headings() to this file   - create /​common/​css/​config.less and move all variables / mixin definition from the top of layout.less until headings() to this file
 +  - remove @imgdir-variable from /​common/​css/​config.less
 +  - search and replace in less and css files: replace @{imgdir} with /img/
   - remove /​common/​css/​reset.css : reset() must be a mixin in /​common/​css/​cmts.less,​ check this first   - remove /​common/​css/​reset.css : reset() must be a mixin in /​common/​css/​cmts.less,​ check this first
   - remove /​common/​css/​fonts.css : fonts() must be a mixin in /​common/​css/​config.less,​ check they match   - remove /​common/​css/​fonts.css : fonts() must be a mixin in /​common/​css/​config.less,​ check they match
Line 48: Line 52:
   - Execute seo-update.sql on the dev database from the standard in /database folder: **attention** - this will delete GTM and the global seo Information! ​   - Execute seo-update.sql on the dev database from the standard in /database folder: **attention** - this will delete GTM and the global seo Information! ​
   - Reinsert GTM and standard title in the seo / seotext table.   - Reinsert GTM and standard title in the seo / seotext table.
 +  - search for occurences of $GLOBALS['​resources'​] and replace this logic with JS::​addFile([url,​options])
   - empty /common/js: only cmts.js remains in this folder, only the used files will be moved to new /common/lib   - empty /common/js: only cmts.js remains in this folder, only the used files will be moved to new /common/lib