Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 606 of 808  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  68080   Wed Aug 12 23:44:16 2015 Question Eric Quinteroericq@caltech.eduQuestionAll3.0.0-70b274bShow attachments = 0

I have "Show attachments = 0" set in [global], but attachments are shown in the "Full" view. Is this the intended behavior? Looking at individual entries correctly hides the attachments. 

We use inline images often, so when an attachement is shown at the bottom of a post it is effectively a duplicate, which clutters things up a bit. 

  68105   Mon Aug 31 17:14:08 2015 Reply Eric Quinteroericq@caltech.eduQuestionAll3.0.0-70b274bRe: Show attachments = 0

The automatic hiding behavior is what I'm after, and I've discovered that it is only a problem for PDF attachments. I have reproduced this on the demo logbook on git revision f828049. 

I've taken a look at the source you mentioned, but as far as I can tell, it is just looking for the opening of the img tag in the HTML source, and I'm not sure why that is different for a PDF.

  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

  2076   Mon Nov 13 18:10:42 2006 Question Eric Kriseeric.krise@cmicompany.comQuestionWindows2.6.2-1748Report printing
Is there a way to print a summary of all (or selected) log books on a scheduled basis, say like every morning @ 7:00 am? I would like a printed copy of our daily logs (24 hr period). Thanks Eric
  66817   Thu May 13 13:31:53 2010 Question Eric KriseEric.Krise@cmicompany.comQuestionWindows2.7.8-2294Entry merging

Is there a way to merge existing entries from several logbooks into a single logbook? 

  66819   Fri May 14 16:50:53 2010 Reply Eric KriseEric.Krise@cmicompany.comQuestionWindows2.7.8-2294Re: Entry merging

Stefan Ritt wrote:

Eric Krise wrote:

Is there a way to merge existing entries from several logbooks into a single logbook? 

Only manually: Add "Move to" to you set of commands via "Menu commands = ...", then select one or more entries, and move them to your target logbook.  

 Got it! Thanks...

  66820   Fri May 14 16:53:54 2010 Question Eric KriseEric.Krise@cmicompany.comQuestionWindows2.7.8-2294Required Attributes

Is there a way to require a certain attribute on reply, but not on an original entry?  In some cases info. for these fields only exists on reply.

  66776   Sun Mar 21 19:03:52 2010 Cool Eric Fengericjfeng@gmail.comQuestionAll2.7.8-2278Attach multiple (many!) files at one time

Hi,

Is it possible to attach multiple files at one time?  Right now I have to attach each individually, click submit, then confirm, then re-select the next file...

This is a pain if one is attaching many files as I often want to do.  It would be nice to be able to select groups of files together using Ctrl and/or Shift, and even to attach a whole directory recursively.

I looked through previous threads but did not find this question asked there.

Thanks,

Eric

ELOG V3.1.5-3fb85fa6