How does one create a html template for an entry, posted by kenzo Abrahams on Thu Oct 15 12:32:19 2015
|
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 |
Columns numeric input are added/computed, posted by Dawang on Fri Oct 23 03:36:18 2015
|
Hi Stefan,
Good day. I'm thinking if this wishlist is already available in elog. The values in columns we're added or computed according to formula set in a single separate column.
Thanks,
Raymund |
Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 11:06:46 2015
|
Good Afternoon
Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into a logbook called home from a textfile the command im using to log a message from the file is
elog -h localhost -p 8080 -u John Blue -l home -a Author=John -m textfile
I cant seem to figure out why i keep getting this error message. I even tried deleting the password file because i thought it might be an authentication issue.
Can anybody assist me please it would be much appreciated.
Regards |
running more then one shell command when new entries is submitted, posted by kenzo Abrahams on Tue Oct 27 11:03:49 2015
|
Hi
Im just curious is it possible to run more then one command using Execute new = <command> or will i have to run a script to run muliple commands.
I tried using '&&' to seperate more then one command but it seems that the first one only gets executed and the rest are just ignored.
Regards
Kenzo |
dynamic "preset text" option without remplace text if it has changed, posted by Dani on Tue Oct 27 15:41:57 2015
|
Dear all,
Is it possible to have a dynamic "preset text" option without remplace text if it has changed?
I would like to switch the template file depending on the attribute value (Type).
If user already started editing the text body, on change (Type) he could lose this data.
I'm using this example code :
Attributes = Type, Subject
Options Type = One{1}, Two{2}, Three{3}
Show text = 0
{1} Preset text = text1
{2} Preset text = text2
{3} Preset text = text3
{1,2,3} Show text = 1
I the attribute type change the user lost the data, because the text has been replaced.
Any idea about how to solve it?
Thanks!
Cheers |
propogating messages through logbooks, posted by kenzo Abrahams on Thu Oct 29 12:30:43 2015
|
Hi there
Okay so let me explain what im trying to do. I have a table in a logbook (lets call it home) that the user fills
out. This information in the table is related to other logbooks (8 of them to be exact).
I want to propogate information from the table in the home logbook into the other logbooks. To do this I used
Execute new which runs my scripts. One of the scripts makes a call to the elog
client to submit the message. The problem is that this call to elog client never finishes because its hanging
waiting for the initial submit (one which triggered Execute new) to finish. The documentation
explained that only one submit can be processed at a time so i expected whats happening at the moment.
My question is are there any other ways to do what im trying to do?? In a nutshell how to propogate information
from one logbook to another autonomously.
Regards
Kenzo |
How to configure SMTP server in Windows using gmail, posted by Dawang on Thu Nov 12 03:04:09 2015
|
Hi ELOG Community,
Please help me to configure my smtp server in Windows using gmail server
This is what in my config:
SMTP host = smtp.gmail.com
SMTP username = raymund.dawang@engagis.com (company email subscribing in gmail)
SMTP Password = xxxxxxx
And I was prompted by this error in elog: Error sending Email via <i>"smtp.gmail.com"</i>: 5.7.0 Must issue a STARTTLS command first. ir5sm11631778pbc.13 - gsmtp
Apprecite you help. Thanks. |
email notification authentication failed, posted by Xuan Wu on Fri Nov 13 11:26:12 2015
|
Hi All,
I got into trouble setting up the automated email notification.
elog.cfg:
;Send automatic email notifications
SMTP host = mail.ihep.ac.cn
;SMTP host = 127.0.0.1
;Some SMTP server require username/passowrd authentication
;elogd -t <your password> for creating SMTP password
SMTP username = wux@ihep.ac.cn
SMTP Password = .JYEytMGvsHANeCIfQJXmscIt4NOtzJ8GbAnh3XH280
;SMTP Password = V3gxMzYxODAxMjAxNA==
;No Email notification
Suppress Email to users = 1
elogd -v:
GET /LEBT/?cmd=Forgot&login_name=wux HTTP/1.1
timezone: -28800, offset: 28800
Email from <wux@ihep.ac.cn> to wux@ihep.ac.cn, SMTP host mail.ihep.ac.cn:
220 ihep.ac.cn Anti-spam GT for Coremail System (ihep[20151015])
EHLO 10.1.44.220
250-mail
250-PIPELINING
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-coremail 1Uxr2xKj7kG0xkI17xGrUDI0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Url11UVUCa0xDrUUUUj
250-STARTTLS
250 8BITMIME
AUTH LOGIN
username:
wux@ihep.ac.cnPassword:
.JYEytMGvsHANeCIfQJXmscIt4NOtzJ8GbAnh3XH280
535 Error: authentication failed
test with telnet:
[wux@logbook ~/elog]$ telnet mail.ihep.ac.cn 25
Trying 202.38.128.6...
Connected to mail.ihep.ac.cn.
Escape character is '^]'.
220 ihep.ac.cn Anti-spam GT for Coremail System (ihep[20151015])
EHLO 10.1.44.220
250-mail
250-PIPELINING
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-coremail 1Uxr2xKj7kG0xkI17xGrUDI0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Ur3T0__UCa0xDrUUUUj
250-STARTTLS
250 8BITMIME
AUTH LOGIN
334 dXNlcm5hbWU6
AUTH PLAIN
535 Error: authentication failed
Connection closed by foreign host.
Any advice and suggestions will be appreciate.
|