Installation and deployment
Version 7.x > Installation and deployment > How to synch javascript files between staging site manager and production site manager. View modes: 
User avatar
Member
Member
Jerreck - 1/6/2014 8:42:54 AM
   
How to synch javascript files between staging site manager and production site manager.
When we create, update or delete javascript files in Site Manager > Development > Javascript, the changes never create a task in the staging module and so they are never synchronized with our production server.

Rather than manually update files on both servers, we've been adding our files to media galleries in CMS Desk > Tools > Media, and any changes made to the files there are logged as an object change of type Media. Although this works just fine for us, it makes more sense to use the module in Site Manager for its intended purpose.

I've checked our site settings, and we have this site set to log object changes. Wouldn't a javascript file be logged as an object just like CSS files or any other file that's stored in the DB? Are we just using this wrong? :D

User avatar
Certified Developer 13
Certified Developer 13
kentico-jx2tech - 1/6/2014 9:06:39 AM
   
RE:How to synch javascript files between staging site manager and production site manager.
Add your vote...
Allow Javascript Files from the CMSSiteManager -> Development -> Javascript Files to be Content Staged

We found that the Javascript files do not sync on web farm servers as well.

User avatar
Member
Member
Jerreck - 1/6/2014 10:03:05 AM
   
RE:How to synch javascript files between staging site manager and production site manager.
Ok, thanks for your help :)

I'm glad it wasn't just me this time :D