Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 204 of 801  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  68150   Mon Oct 26 11:16:54 2015 Reply kenzo Abrahamskenzoabrahams@gmail.comQuestionLinux3.1.1Re: How does one create a html template for an entry
> > Good Day
> > 
> > I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the entries of home to be of a specific html format (for example a table containing
> > a set amount of rows and columns) and work can be any plain text entry how would I go about doing this? I saw the documentation mention something about html templates but i cant seem to find the section about where they are stored
> > or how they are created and applied to a specific logbook. I know how to restrict the entry encoding to either html, elcode or plain text for a logbook. Any help would be appreciated.
> > 
> > Regard
> > Kenzo Abrahams
> 
> So-called "custom" entry/view forms are a bit for experienced people. You should be fluent with HTML and JavaScript. The (minimal) documentation is here: https://midas.psi.ch/elogs/Forum/66909
> 
> If you want a table style input form, better use Google Spreadsheets.
> 
> Stefan

Thank you Stephan this really helped me.
  68149   Mon Oct 26 11:06:46 2015 Question kenzo Abrahamskenzoabrahams@gmail.comQuestionLinux3.1.1Logging entries from the command line

Good Afternoon

Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into a logbook called home from a textfile the command im using to log a message from the file is

elog -h localhost -p 8080 -u John Blue -l home -a Author=John -m textfile

I cant seem to figure out why i keep getting this error message. I even tried deleting the password file because i thought it might be an authentication issue.

Can anybody assist me please it would be much appreciated.

Regards

  68148   Fri Oct 23 08:29:33 2015 Reply Stefan Rittstefan.ritt@psi.chRequestWindowsLatestRe: Columns numeric input are added/computed

No, formulas are not yet implemented. For such things I would use Google Spreadsheets in meantime.

Stefan

Dawang wrote:

Hi Stefan,

Good day. I'm thinking if this wishlist is already available in elog. The values in columns we're added or computed according to formula set in a single separate column.

 

Thanks,

 

Raymund

 

  68147   Fri Oct 23 03:36:18 2015 Question Dawangraymund.dawang@gmail.comRequestWindowsLatestColumns numeric input are added/computed

Hi Stefan,

Good day. I'm thinking if this wishlist is already available in elog. The values in columns we're added or computed according to formula set in a single separate column.

 

Thanks,

 

Raymund

  68146   Fri Oct 16 00:24:50 2015 Reply Eric Quinteroericq@caltech.eduQuestionAll3.0.0-70b274bRe: Show attachments = 0

Hm, looking through the source, there are many many places where PDF files are treated differently than strictly image filetypes (PNG, etc.). This makes sense in the context of multi-page documents. 

Still, I like using PDFs for vector plots... I suppose I should also confess to the following modification I've made to my ELOG for treating PDFs like images in drag-and-drop uploading. 

--- a/scripts/ckeditor/plugins/dndfiles/plugin.js
+++ b/scripts/ckeditor/plugins/dndfiles/plugin.js
@@ -142,7 +142,7 @@ CKEDITOR.plugins.add( 'dndfiles', {
                                                                return;

                                                        if(src.indexOf(".png") >= 0 || src.indexOf(".jpg") >= 0 || src.indexOf(".jpeg") >= 0
-                           || src.indexOf(".gif") >= 0 || src.indexOf(".svg") >= 0) { // This is an image
+                           || src.indexOf(".gif") >= 0 || src.indexOf(".svg") >= 0 || src.indexOf(".pdf") >= 0) { // This is an image
                                                                html += '<a href = ' + src + '><img src = "' + thumb + '">' + '</a>';
                                                        } else {        // this is not an image
                                                                // Server appends 14 characters in front of the name so we should remove them

  68145   Thu Oct 15 14:34:36 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.1Re: How does one create a html template for an entry
> Good Day
> 
> I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the entries of home to be of a specific html format (for example a table containing
> a set amount of rows and columns) and work can be any plain text entry how would I go about doing this? I saw the documentation mention something about html templates but i cant seem to find the section about where they are stored
> or how they are created and applied to a specific logbook. I know how to restrict the entry encoding to either html, elcode or plain text for a logbook. Any help would be appreciated.
> 
> Regard
> Kenzo Abrahams

So-called "custom" entry/view forms are a bit for experienced people. You should be fluent with HTML and JavaScript. The (minimal) documentation is here: https://midas.psi.ch/elogs/Forum/66909

If you want a table style input form, better use Google Spreadsheets.

Stefan
  68144   Thu Oct 15 12:32:19 2015 Question kenzo Abrahamskenzoabrahams@gmail.comQuestionLinux3.1.1How does one create a html template for an entry
Good Day

I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the entries of home to be of a specific html format (for example a table containing
a set amount of rows and columns) and work can be any plain text entry how would I go about doing this? I saw the documentation mention something about html templates but i cant seem to find the section about where they are stored
or how they are created and applied to a specific logbook. I know how to restrict the entry encoding to either html, elcode or plain text for a logbook. Any help would be appreciated.

Regard
Kenzo Abrahams
  68143   Tue Oct 13 12:39:14 2015 Reply Richard Stamperrichard.stamper@stfc.ac.ukQuestionWindows3.1.0-c701f01Re: FCKEditor not working correctly on a Windows server.

If you are using IE as your browser, the problem may be with that rather than the server. By default IE 11 display intranet sites in a "Compatibility mode" which breaks the FCKEditor in Elog version 3.  Fortunately this mode can be disabled, which is what I have had to advise users here to do.

  • Click on the "cogwheel" and select "Compatibility settings" 
  • Deselect "Display intranet sites in Compatibility view"

Pictures attached

Marty Jansen wrote:

Sorry for the late reply. I have installed a slightly newer version of Elog, but the results are the same. I do get de the 3 editor bars, but the top 2 are greyed out and the bottom one doesn't do anything if clicked. I have commented out the lines that refer to the online equation editor, but that doesn't help much either. I think I let it rest. The old 2.9.xx version still works great, so we leave it at that.

Thanks anyway for the suggestions

Marty

Marty Jansen wrote:

Hi,

After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.

The previous version with the older editor was working great on the same server.

Any suggestions? 

 

 

Attachment 1: cogwheel.png
cogwheel.png
Attachment 2: settings.png
settings.png
ELOG V3.1.5-3fb85fa6