<![CDATA[ does VersionX manage also static elements - My Forums]]> https://forums.modx.com/thread/?thread=86661 <![CDATA[Re: does VersionX manage also static elements]]> https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-479210
i'd like to make it a little bit foolproof - to not allow editing via Manager.
i'm using just notepad++ so it does not show any changes if done directly on the server.

or have to give PhpStorm a try probably and change from svn to git if is not supported smiley]]>
krajicek Oct 01, 2013, 03:49 PM https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-479210
<![CDATA[Re: does VersionX manage also static elements]]> https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-479199

Though on a local install, I can typically edit static elements via the manager as that will update the file, and then in my IDE (PhpStorm) it will show up as having been changed. But I typically just edit in PhpStorm and MODX will pick up on the changes, instead of the other way around.]]>
markh Oct 01, 2013, 03:18 PM https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-479199
<![CDATA[Re: does VersionX manage also static elements]]> https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-479026 Quote from: markh at Sep 27, 2013, 07:46 PM
It will only version static elements when they are changed via the manager; it does not monitor the actual files for changes.

Personally I use git to version static elements.

Thank you for answer Mark,

if you manage static elements by git how do you achieve that they are not editable via Manager? or is it just your rule of thumb that you don't edit them that way?

kr.]]>
krajicek Sep 30, 2013, 07:54 AM https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-479026
<![CDATA[Re: does VersionX manage also static elements]]> https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-478918
Personally I use git to version static elements.]]>
markh Sep 27, 2013, 07:46 PM https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-478918
<![CDATA[does VersionX manage also static elements]]> https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-477666
i've tested it and seems that it does not. however i'm asking to be 100% sure because i've spotted this:
#26 Fix critical issue handling static resources.


in change logs.
but it probably relates exclusively to static resources ... sad

what's the best practice to version static elements (templates etc.)?

thank you in advance
kr]]>
krajicek Sep 13, 2013, 02:47 PM https://forums.modx.com/thread/86661/does-versionx-manage-also-static-elements#dis-post-477666