Would this addon allow me to access any file within my site root folder?

Permalink Browser Info Environment
Hi,
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?

Thank you,
Steve

Type: Pre-Sale
Status: In Progress
Pixelfixer
View Replies:
Pixelfixer replied on at Permalink Reply
Pixelfixer
Update:
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.

Thanks,
Steve
starkart replied on at Permalink Reply
Hello Pixelfixer,

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.

Thanks,
StarKart

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.8
Version Installed - 5.7.5.8
Database Version - 20160412000000

# concrete5 Packages
Background Image and Overlay (0.9.7), Framework Theme (1.2.1), Honest Websites Back To Top (1.0.1), Responsive Embed (1.0.1), Responsive Image Map (1.1), Smooth Link Scrolling (1.0), Webli YouTube PopUp (1.0.1).

# concrete5 Overrides
blocks/autonav/templates/autonav_with_search_icon.php, blocks/autonav/templates, blocks/autonav, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, blocks/autonav/templates/autonav_with_search_icon.php, blocks/autonav/templates, blocks/autonav, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.4.45

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mssql, mysql, mysqli, odbc, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SourceGuardian, SPL, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 64M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.