ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
65836
|
Thu Apr 17 20:22:30 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.3 | Re: Custom Links in each column, in the display list? |
Don Perrea wrote: |
Using the "Link Display =" I can turn of the link to each individual entry, however, I would like to have a custom link in one of my columns. Is this possible?
|
What you can do is to define an attribute (let's call it 'link'), then substitute this (maybe empty) attribute after submit with
Subst link = http://www.google.com
so this attribute will contain this link. You can also combine the value of the attribute with the link, like
Subst link = http://www.google.com/search?q=$link
this will produce a link to google search where it searches for the value of the attribute:

|
65846
|
Wed Apr 23 01:55:16 2008 |
| Bill Pier | bpier@clove.org | Question | All | 2.7.3 | scrollable text section only when viewing a log entry | 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?
|
65847
|
Wed Apr 23 07:46:56 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2.7.3 | Re: scrollable text section only when viewing a log entry |
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. |
65850
|
Wed Apr 23 18:59:30 2008 |
| Jochen Krempel | krempel(at)ill.fr | Request | All | 2.7.3 | LaTeX support | 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.
Kind regards,
Jochen |
65851
|
Thu Apr 24 07:51:23 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 2.7.3 | Re: 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. |
65852
|
Thu Apr 24 22:18:24 2008 |
| Chuck Brost | Brost_chuck@solarturbines.com | Question | Windows | 2.7.3 | Increment a field automatically on a new thread vs every entry | I may have missed it when reading the logs, if so, sorry about that, but I would like to know if there is a way to set a field, let us call it "process run" Ok let me give you some details on this.
a process run may have several "work orders" or sets of parts/items in it, so it will have several separate entries in the log such as:
date##, run123, part 1, quantity, comment
date##, run123, part2, quantity, comment
date##, run123, part3, quantity, comment
date##, run123, part4, quantity, comment
I thought perhaps to have them use the reply function to add the other 3 items of the same run, and that would work if I could find a way to set 'process run' to auto increment, say perhaps, when the next 'New' entry was entered. Is there something in place that can already do this? If this is possible, I thought I would see if I can change the button for 'New' to something like 'New Run' and reply to 'Add Workorder' or something along that line so there is no confusion when entering the data.
Any suggestions you might provide are greatfully accepted.
Chuck |
65853
|
Thu Apr 24 23:52:45 2008 |
| Bill Pier | bpier@clove.org | Question | All | 2.7.3 | Re: scrollable text section only when viewing a log entry |
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:
- moved the journal entry content and footer line (elog version info) out of the layout table structure, into their own div sections;
- in the style sheet, added attribute "position:fixed" to the "frame table" section;
- in the style sheet, added attribute sections for journal entry content and footer div sections:
- #content: overflow:auto;position:fixed;top:230px;bottom:30px;width:100%;
- #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.
Bill |
65858
|
Fri Apr 25 19:33:24 2008 |
| Chuck Brost | Brost_chuck@solarturbines.com | Question | Windows | 2.7.3 | Re: Increment a field automatically on a new thread vs every entry | 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".?
Chuck Brost wrote: |
I may have missed it when reading the logs, if so, sorry about that, but I would like to know if there is a way to set a field, let us call it "process run" Ok let me give you some details on this.
a process run may have several "work orders" or sets of parts/items in it, so it will have several separate entries in the log such as:
date##, run123, part 1, quantity, comment
date##, run123, part2, quantity, comment
date##, run123, part3, quantity, comment
date##, run123, part4, quantity, comment
I thought perhaps to have them use the reply function to add the other 3 items of the same run, and that would work if I could find a way to set 'process run' to auto increment, say perhaps, when the next 'New' entry was entered. Is there something in place that can already do this? If this is possible, I thought I would see if I can change the button for 'New' to something like 'New Run' and reply to 'Add Workorder' or something along that line so there is no confusion when entering the data.
Any suggestions you might provide are greatfully accepted.
Chuck
|
|
|