Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 204 of 801  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OS ELOG Version Subject
  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
  68142   Tue Oct 13 09:47:18 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxV3.1.0-2411f95Re: inline jpg to png

You can turn off thumbnail creation with

Thumbnail size = 0

as written in the documentation. The PNG files are "thumbnails" (= smaller versions of large pictures). Mostly people put large images into elog entries, which take long times to download. Having small thumbnails insted speeds up download times considerably.

Stefan

Jacky Li wrote:

Hi,

We have a user who posted a lot of inline jpg.  The elog system converted those to png and thus cause the size of the elog to expand about ~4x of the original size.  It is caused the problem of entry size too large for email notifications.  Is there a way to turn off the conversion to png picture file?  May I know also know why it converts to png to store on the server?  Thank you very much.

Jacky

 

  68141   Thu Oct 8 11:27:55 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindowsV3Re: How can I host elog in a web server

I am honestly not sure if I understand the question. You can run ELOG behind an Apache Webserver. Look for example at https://midas.psi.ch/elog/adminguide.html#secure

Dawang wrote:

How can I host elog in a web server. I need sample config file on [global] segment to show config on how it can be host. Please need your help. Thanks

 

  68140   Thu Oct 8 06:36:34 2015 Question Dawangraymund.dawang@gmail.comQuestionWindowsV3How can I host elog in a web server

How can I host elog in a web server. I need sample config file on [global] segment to show config on how it can be host. Please need your help. Thanks

  68139   Sun Oct 4 20:29:01 2015 Question Jacky Lizli@hawaii.eduQuestionLinuxV3.1.0-2411f95inline jpg to png

Hi,

We have a user who posted a lot of inline jpg.  The elog system converted those to png and thus cause the size of the elog to expand about ~4x of the original size.  It is caused the problem of entry size too large for email notifications.  Is there a way to turn off the conversion to png picture file?  May I know also know why it converts to png to store on the server?  Thank you very much.

Jacky

ELOG V3.1.5-3fb85fa6