Posts: 18
Threads: 3
Joined: Oct 2015
In GS, we have theme / component edit facility.
Can the facility be implemented in the files folder? So we can edit the plain text (json, txt, csv, etc.)?
To avoid damage, may be restricted by only files with small size that can be edited.
sorry for my english
Posts: 1,247
Threads: 82
Joined: Feb 2011
Most people tend to not place these kind of files in the files section (what's the purpose?). More something for a plugin, I think.
Posts: 18
Threads: 3
Joined: Oct 2015
2017-05-20, 16:24:29
(This post was last modified: 2017-05-20, 16:34:57 by bigthanks.)
(2017-05-20, 08:37:39)datiswous Wrote: Most people tend to not place these kind of files in the files section (what's the purpose?). More something for a plugin, I think.
Right !, this is for plugin data (but not gs plugins).
For example, now I plan to making several quiz page's using https://github.com/UrbanInstitute/quick-quiz, this quiz is very nice. Because my php and javascript skills is big zero, I apply them in GS by special pages and running well. Json data is stored in files, currently I can edit via ftp+notepad++ but if GS has the edit plain feature on the files folder that's more easy and fast.
I think this feature could be applicable to other plugins.
Posts: 3,491
Threads: 106
Joined: Mar 2010
You could put your files in some subfolder of your theme, then edit them in Edit Theme.
Posts: 18
Threads: 3
Joined: Oct 2015
2017-05-20, 22:26:34
(This post was last modified: 2017-05-20, 22:34:26 by bigthanks.)
(2017-05-20, 18:34:20)Carlos Wrote: You could put your files in some subfolder of your theme, then edit them in Edit Theme.
Great idea! Thank you very much!
.... but i can not using field type:files on special page
Posts: 6,267
Threads: 182
Joined: Sep 2011
you could maybe use symblinks, not tested