Not able to upload javascript file in backend #3416
Replies: 5 comments 1 reply
-
Hello,
It is currently not possibly to upload JavaScript files via the web
interface.
You can manually load them via the web interface. You should call them with
the number of the tenant (site) E.g. /var/globaleaks/scripts/1 is the
script file that will be loaded on the first tenant
…On Mon, Apr 10, 2023, 12:56 PM erwindegrave ***@***.***> wrote:
Hi everyone,
In the Theme customization in the admin panel, as mentioned in the user
guide, I am trying to upload a Javascript file using the 'Files' button,
but nothing happens.
I can upload images and pdfs, but not Javascript files.
What do I need to do to solve this issue?
Thanks.
—
Reply to this email directly, view it on GitHub
<#3416>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABU7SQCI3GQXULKWD4DMWLXAPROHANCNFSM6AAAAAAWY3J7G4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello @joir7 The file should be called with the number of the tenant. |
Beta Was this translation helpful? Give feedback.
-
Hello, Pardon my ignorance and thanks in advance, I am new to using Globaleaks. I want to change the structure of the footer but I have copied a file called '1.js' into the /var/globaleaks/scripts/ directory and I still haven't managed to change the footer. The content of the 1.js test file is very simple: I don't know what a tenant is. Is a tenant a site? I only have one site. Attached image: Any help will be welcome. Thanks. |
Beta Was this translation helpful? Give feedback.
-
@Jorge-CB : the file should be called just "1" withouth ".js" at the end |
Beta Was this translation helpful? Give feedback.
-
Thank you very much! It works now. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
In the Theme customization in the admin panel, as mentioned in the user guide, I am trying to upload a Javascript file using the 'Files' button, but nothing happens.
I can upload images and pdfs, but not Javascript files.
What do I need to do to solve this issue?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions