Would this addon allow me to access any file within my site root folder?Browser Info Environment
I have a website that uses a third-party map application. To add locations on the map, I need to be able to edit a *.js file (text editor would work). This file is located currently under domain/maps/usa/pin-config.js. Would I be able to use your add-on to access this file to make changes? Or does the location need to be within the theme folder?
In the interest of time and the very reasonable price, I decided to buy this and try it.
I'm happy to say, it looks like it may work for me, but I have discovered something that appears to be either a bug or an environment conflict that I hope you can help me with.
When editing a file, anything I type replaces a character 4 positions to the left.
For example: Let's say I have a hex color code I want to change. so I find '#017125' and I want to change the 5 to a 6. So, I highlight the "5" and type "6". The result will look like this: '#067125' - the "1" gets changed to a "6" instead of the "5". Do you know what might be causing this? It makes this program unusable, of course.
BTW, I have tested this using a Chrome browser on both a Mac and a PC and also tested it using Firefox on a PC. Same results on all.
Also, it would be nice to have an "Exit without Saving" button. But I see that I can also just click on the back arrow to exit without saving.
Thank you for taking the time to help improve our product.
To answer your first question:
Yes, the location of the file you wish to edit needs to be in the '/packages/theme' or the '/application/theme' folder, not the root. Currently this add-on is to help edit theme files. We're currently working on providing support for 'Add-Ons/Packages' that are not theme related.
In response to your bug report:
We've tried to replicate your reported issue on our computers using linux and windows machines on Chrome and Firefox and were unsuccessful.
It may be helpful to supply your Environment Information and to make sure your version of Concrete5 is the recommended version for this Add-on.
Also it is recommended you disable the appropriate caches to insure the best editing results. (Theme CSS cache, JS/CSS cache, and Block Cache)
We will continue to look into this problem an will update you if any progress is made.
P.S. Apex currently uses a default "save" option as a convenience to users who wish to edit continuously without losing file position (or CTRL +Z functionality) and also because when editing PHP files, mistakes can often lead to a crashed site.