Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 209 of 796  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  65851   Thu Apr 24 07:51:23 2008 Reply Stefan Rittstefan.ritt@psi.chRequestAll2.7.3Re: LaTeX support

Jochen Krempel wrote:

I would appreciate if elog could provide a simple support for mathematical expressions.

A solution similar to wikimedia should be easy to implement and would help a lot.
http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows#Alternative_Solution

The idea is to parse the elog entry for a tag (e.g.  <math></math>), extract the code, wrap it into a latex file, and pass this to latex, GhostScript, and ImageMagic. (The latter are already used by Elog, therefore the changes should not be too big.) The resulting image file would then be referenced by the  elog html code.

Of course, the FCKeditor would not support LaTeX. However, the majority of elog-useres should be scientists and rather familiar with LaTeX. Therefore it should be fine if the original LaTeX code is saved (e.g. in the ALT-tag of the image) and the replacement "code to image" is undone for editing.

We had already some time ago a request to integrate mimetex (elog:1827). I will see what I can do there.

  65856   Fri Apr 25 17:15:12 2008 Reply Stefan Rittstefan.ritt@psi.chQuestion  Re: how to set locale for date/time

svrmarty wrote:

Stefan Ritt wrote:

svrmarty wrote:

 

is there any new option i can use/configure ?

i still get the english datetime

Eingabezeit: Thu Mar 27 09:27:41 2008

As I told you, you have to upgrade to SVN revision 2098 or later.

 i've updated to ELOG V2.7.3-2104

Well, then you should get German locale. I just tried with the same version and following elogd.cfg, so I don't know what you are doing wrong:

[global]
port = 8080
language = german

[demo]
Attributes = Author, Type, Category, Subject

Capture.png

  65857   Fri Apr 25 17:19:27 2008 Reply Stefan Rittstefan.ritt@psi.chQuestion  Re: configuration of rss feeds

W.Koster wrote:
Is it possible to change what is being shown in the rss-feed ? (like only name, date and subject in the list and text and other attributes in the text-pane below the rss-feed list (I hope you can figure out what I mean). Regards, W.

Have you tried the "RSS Title" option?

  65860   Sat Apr 26 09:26:53 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.3Re: Increment a field automatically on a new thread vs every entry

Chuck Brost wrote:

Ok, nevermind that one, Dumb Question I think, now that I have figured out that the field I was concerned with does not increment in a reply already.  So.. that only leaves my one question, is there somewhere that I can change the text, not the action, on the menu so that I can do a reply, but have the link list as something like "New Item".?

 

Unfortunately this is not possible at the moment.

  65861   Mon Apr 28 08:00:18 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.7.3Re: scrollable text section only when viewing a log entry

Bill Pier wrote:

Stefan Ritt wrote:

Bill Pier wrote:

Is there a way, option, feature to setup the text section only to be scrollable when viewing a log entry, such that the header (meta info) section stays fixed?

Unfortunately no.

Well, I tinkered a bit with a journal entry display page and found that without having to suggest the flavor-of-the-month web design mantra of "replace table layout with CSS only",  just a few CSS tweaks can enable exactly what I am desiring.

For your consideration, here are the tweaks I made to get a fixed header and footer section with a scrollable journal entry section in the middle:

  1. moved the journal entry content and footer line (elog version info) out of the layout table structure, into their own div sections;
  2. in the style sheet, added attribute "position:fixed" to the "frame table" section;
  3. in the style sheet, added attribute sections for journal entry content and footer div sections:
    1. #content: overflow:auto;position:fixed;top:230px;bottom:30px;width:100%;
    2. #footer:  text-align:center;bottom:0;position:fixed;width:100%;

Now as I'm not a web designer by trade and not intimately familiar with CSS nuances, I used the time honored method of documentation lookup with trial and error.

In any case, it worked and displays exactly the way I wanted; please do consider this for a future elog release. 

Apparently you downloaded an ELOG page and modified it manually. Can you send me the modified page, it then would be easier for me to implement it (I can shorten "my" trial and error phase..)

  65866   Mon May 5 08:44:03 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows Re: Mass postings

mike cianci wrote:

I am setting this up as instrument log in a multi-hospital system, where there will be multiple instruments, in multiple departments, at multiple facilities.

I am using the "Top Group" function to keep the books separate so operators from one instrument/department/facility don't contaminate another instrument/department/facility's logbook.

What I am wondering is there someway to set it up so that a system wide manager could post a message to 5 individual logbooks for 5 identical instruments at 5 different locations all at once (one ELOG server)?

I hope this made sense.  Thank you for your help.

Unfortunately this is not possible at the moment. You would have to use the menu command "copy to" and enable it for the admin user. Then you create your entry, and click on "copy to" once for each location you want to copy this entry.

  65867   Mon May 5 08:51:10 2008 Reply Stefan Rittstefan.ritt@psi.chRequestWindows2.7.3Re: Extending attribute list

Paul O'Shaughnessy wrote:

Hello everyone, I am new to the forum.

I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?

Example:

Attributes = RB

Options RB = a, b, c, ...,etc.

The number of 100 options is defined in elogd.c with

#define MAX_N_LIST  100

You could try to increase this to 200, but I have no idea if you will hit some other memory limit then. So what about conditional attributes? You subdivide your list into several smaller lists, like

Attributes = Category, RB
Options Category = Cat1{1}, Cat2{2}
{1}Options RB = a,b,c,d...
{2}Options RB = e,f,g,h,...
this is then also easier to handle, as compared to select a value from a very long list.
  65869   Tue May 6 15:17:52 2008 Reply Stefan Rittstefan.ritt@psi.chRequestWindows2.7.3Re: Extending attribute list

Paul O'Shaughnessy wrote:

Stefan Ritt wrote:

Paul O'Shaughnessy wrote:

Hello everyone, I am new to the forum.

I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?

Example:

Attributes = RB

Options RB = a, b, c, ...,etc.

The number of 100 options is defined in elogd.c with

#define MAX_N_LIST  100

You could try to increase this to 200, but I have no idea if you will hit some other memory limit then. So what about conditional attributes? You subdivide your list into several smaller lists, like

Attributes = Category, RB
Options Category = Cat1{1}, Cat2{2}
{1}Options RB = a,b,c,d...
{2}Options RB = e,f,g,h,...
this is then also easier to handle, as compared to select a value from a very long list.

 

Stefan,

Thanks for that advice. I have made that change to the elogd.c file, but the only problem I don't know how to compile Elog to make that change take effect. I did the stop and restart of the elog  service in windows, but that made no difference. How do I compile ELog? Sorry for my ignorance, but I am fairly new to Elog.

You need a C compiler to compile Elog under Windows. If you don't have one, I would suggest to follow the advice to use conditional attributes. This does not require a recompilation of Elog.

ELOG V3.1.5-2eba886