How to edit Elog landing pages., posted by John on Thu Mar 14 06:38:12 2019
|
Hi and thanx for such a wonderful program! I was wondering how I might edit, change or add to the landing pages. In other words the first pages that
show up (or any for that matter) when you login to a book. I can view the code ok in my browser using that function, but when I search for the actual page
and it's locale, I cannot find it. Is it created on the fly by the server? If so, how can I change them.. as I want to add for instance javascripts |
Re: How to edit Elog landing pages., posted by John on Sun Mar 17 00:40:42 2019
|
Well I answered part of my own question already.. I can have a start page different from what is default, and I can edit the orginal one by simply copying
it and modifiying it to my hearts desire. I still have isues after making menu selections from that page tho, when the program (server) takes
me to a site called for example: ../forum/index.html?cmd=Config. I cannot find out how to prevent or modify this behaviour. I am supposing tho, that |
Re: How to edit Elog landing pages., posted by Stefan Ritt on Thu Apr 4 12:53:09 2019
|
Per default, all pages are created dynamically by elogd directly from its C code. So nothing to change easily except hacking the code. There is one exception
which is the start page you found already. To change any other page, you have to modify the C code. There is one more (dirty) trick: You can sneak in JavaScript
code on every page via the "bottom text" option. This code can then modify the DOM tree and changes pages, but you need to program this in JavaScript. |
Re: How to edit Elog landing pages., posted by John on Thu Apr 4 20:30:29 2019
|
Wow Stefan thanks for your kind reply. This gives me a reason to finally pickup JavaScript, which I am finding both easy and fun, esepcially with
all the modules/coding out there already, which makes things easier to do while learning it! I will let you know as I progress on my 'top secret'
hack of your masterpiece ;) |
Drop attachments here..., posted by Xuan Wu on Wed Jun 23 03:48:22 2021
|
The function of "Drop attachments here..." is only for root user? I'd like it could be used by all users. |
Re: Drop attachments here..., posted by Sebastian Schenk on Mon Jun 28 14:53:44 2021
|
I can't confirm this behavoiur. In our instance, every user can use the attachment function of the elog.
Either through "Drag&Drop" or "Browse&Upload" in the entry editor.
What do you mean by "root" user? |
Re: Drop attachments here..., posted by Xuan Wu on Mon Jun 28 18:41:31 2021
|
I just used my own account to test the "Drag&Drop" function in this forum , and it failed. In our case, we need to upload
ten more images into logbook at once, it's more effective to use "Drag&Drop" than "Browse&Upload" feature for "Browse&Upload"
only can choose one attachment at once, but "Drag&Drop" can choose several attachments at once. The admin user can use this |
Re: Drop attachments here..., posted by Sebastian Schenk on Tue Jun 29 15:21:06 2021
|
In my testings I didn't found this behaviour, but my collegues also reported this issue.
So I searched for the difference between my test setup and the production logbooks.
I believe the "restrict edit = 1" config option may be responsible for this behaviour. |