ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2007
|
Thu Oct 19 11:45:18 2006 |
| Alexandre Lindote | alex@lipc.fis.uc.pt | Question | Linux | 2.6.2-1699 | How to pass attachment names to an Execute line? |
Hi,
I'm trying to pass the name of an attachment in a "Execute new " line, but I can't seem to get the correct syntax...
I've tried:
Execute new = echo "New document with reference $Internal Ref with the name $attachements " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $attachements1 " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $1 " >> /home/zeplin3/lixo.log
but nothing seem to work. If I remove the $attachments bit the output is correct...
Any suggestions?
Thanks
Alex |
2011
|
Thu Oct 19 19:45:35 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.2-1699 | Re: How to pass attachment names to an Execute line? |
Alexandre Lindote wrote: | Hi,
I'm trying to pass the name of an attachment in a "Execute new " line, but I can't seem to get the correct syntax...
I've tried:
Execute new = echo "New document with reference $Internal Ref with the name $attachements " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $attachements1 " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $1 " >> /home/zeplin3/lixo.log
but nothing seem to work. If I remove the $attachments bit the output is correct...
Any suggestions? |
Sorry there was a type in the documentation. You should write
$attachments
and not
$attachements
then it will work. |
2012
|
Fri Oct 20 13:26:10 2006 |
| Alexandre Lindote | alex@lipc.fis.uc.pt | Question | Linux | 2.6.2-1699 | Text column in the main list |
Hi,
is there a way of removing the "Text" column from the main listing of a logbook?
I have a logbook that works as a document database, and I don't even allow the entering of text... But the column insists on appearing! 
Thanks
Alex |
2013
|
Fri Oct 20 13:28:38 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.2-1699 | Re: Text column in the main list |
Alexandre Lindote wrote: | Is there a way of removing the "Text" column from the main listing of a logbook?
I have a logbook that works as a document database, and I don't even allow the entering of text... But the column insists on appearing! 
|
Summary lines = 0 |
2014
|
Fri Oct 20 13:36:29 2006 |
| Alexandre Lindote | alex@lipc.fis.uc.pt | Question | Linux | 2.6.2-1699 | Re: Text column in the main list |
Stefan Ritt wrote: |
Alexandre Lindote wrote: | Is there a way of removing the "Text" column from the main listing of a logbook?
I have a logbook that works as a document database, and I don't even allow the entering of text... But the column insists on appearing! 
|
Summary lines = 0 |
Great! Thanks a lot
Alex |
2020
|
Wed Oct 25 21:52:13 2006 |
| Alexandre Lindote | alex@lipc.fis.uc.pt | Question | Linux | 2.6.2-1699 | Re: ELCode |
Stefan Ritt wrote: |
Alexandre Lindote wrote: | can you think of any obvious reason why the ELCode would not work in the logbooks I set up? |
There is a good reason why this forum contains a ELOG Version tag which you are supposed to fill out for new entries. Without knowing which version you are using I cannot help you. Probably you have an old version which does not support the Allowed encoding. |
Sorry about that... it's 2.6.2-1699, so a very recent one. |
2022
|
Fri Oct 27 13:02:50 2006 |
| Alexandre Lindote | alex@lipc.fis.uc.pt | Question | Linux | 2.6.2-1699 | Re: ELCode |
Alexandre Lindote wrote: | Hi,
can you think of any obvious reason why the ELCode would not work in the logbooks I set up?
|
Ok, I think I found the problem... For some reason the elcode.js file was only in /usr/local/elog/scripts, but it was supposed to be in
/usr/local/elog/themes/default/ as well.
Creating a symlink between the two solved that problem. I can now do most things with the ELCode, but inserting images is still failing. I get this message from the firefox javascript console:
text.value has no properties (line 32 of elcode.js)
Any thoughts?
Alex |
2057
|
Thu Nov 9 21:03:03 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.2-1699 | Re: ELCode |
Alexandre Lindote wrote: |
Alexandre Lindote wrote: | Hi,
can you think of any obvious reason why the ELCode would not work in the logbooks I set up?
|
Ok, I think I found the problem... For some reason the elcode.js file was only in /usr/local/elog/scripts, but it was supposed to be in
/usr/local/elog/themes/default/ as well.
Creating a symlink between the two solved that problem. I can now do most things with the ELCode, but inserting images is still failing. I get this message from the firefox javascript console:
text.value has no properties (line 32 of elcode.js)
Any thoughts?
Alex |
That's really strange. In the forum (http://midas.psi.ch/elogs/Forum), I have the elcode.js only in /usr/local/elog/scripts, and it works as you can try out yourself. Getting your javascript error might indicate that you have an old version of elcode.js combined with a newer executable of elogd. Try to update it. |