+1
Solved

Change dropdown for creating new files

Chris v 2 years ago in Feature requests updated by Vlad R 2 years ago 3

Dear community,

I noticed that there are files like PHP and HTML in the new file dropdown. I want to change the order and the types. I want to create office files with it and remove the PHP and HTML in the dropdown.

Thank you,

Chris

Answer

+1
Answer
Solved
customizables/plugins/code_editor/app.php

Is the file you want to edit for changing those options. Note that you might need to clear the browser's cache to see the changes, and FileRun updates might overwrite your changes, so keep a log of them, so that you can redo them at a later time.

+1
Answer
Solved
customizables/plugins/code_editor/app.php

Is the file you want to edit for changing those options. Note that you might need to clear the browser's cache to see the changes, and FileRun updates might overwrite your changes, so keep a log of them, so that you can redo them at a later time.

But how can I add Office documents? Those ones are only working if I make a blank Word document and upload it, but not when I click on others and fill test.docx as example. 

You should configure a plugin (Google Docs Editor, ONLYOFFICE or Zoho Editor) from the FileRun control panel, as by default there is no support for creating or editing Office documents, unless a plugin that uses a third-party service is used.