Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 220 of 806  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  1816   Wed May 3 08:31:52 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: Is it possible to require certain attributes for specific users (guests)?
> First of all, thanks for writing and maintaining eLog.
> 
> I've been using it for a few years, but I'm now introducing it in an environment that may have a lot of "Guest"
> accounts.
> 
> I'd like to have two "Required Attributes" when a guest enters a new entry; their name and e-mail address. These
> fields don't need to be required for registered accounts, since that information is available already.
> 
> Is there any way to have conditional statements act on the value of $short_name?

No, this is not implemented. The only way you have right now is to make two separate logbooks, one for guests and
one for registered users. But I know this is not an optimal solution. I will think about it.
  1819   Fri May 5 07:58:53 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.1-1668Re: Date automatically generated by another one

Alex H wrote:
Hi Stefan,
I am searching for a solution in order to have a date automatically generated by another one.

For example I want 1 month more :
I input the first date in "Date publication" : 01/01/2006 and the "Date validation" took automatically the 01/02/2006 value from themselve.

Can I do that with ELOG ?
Thanks for answer.


No, this is not implemented right now.
  1824   Tue May 9 08:07:00 2006 Reply Stefan Rittstefan.ritt@psi.chRequestLinux Re: Spec file change

Stephen A. Wood wrote:
Could the "Copyright:" line in the elog.spec file be changed to "License:" for the next release? Without this change an RPM can't be built on FC4 (RPM 4.4.1). With the change, rpms can still be built in Enterprise linux 3 (RPM 4.2.3).


Wow, the RPM build depends on that name? Interesting. I changed it in the SVN version, so it will be contained in the next release.
  1826   Wed May 10 16:16:33 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: Email notification question

Kevin McCarty wrote:
Hello,

I've just set up an ELog server for my research group. (Running on Debian, package version 2.6.1+r1642-1)

I have a question about the email notifications. I read through the config file documentation, but couldn't find the answer (maybe I am just unobservant\?) Is it possible to have the email notifications contain only the title of the log entry (as well as the usual attributes), but not the full text or any attachments? I have users who are worried about their email going over quota from ELog's emails, but who nevertheless would like some kind of notification when new log entries are posted.

Thanks in advance!


Have a look at the option Email format = <n>
  1830   Thu May 18 08:08:25 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxELOG V2.6.Re: Linking two sets of logbooks

Alan Stone wrote:
I would like to link the CMSROC ELOG at Fermilab:
http://nippon.fnal.gov:8081/
with the CMS ELOG at CERN:
https://cmsdaq.cern.ch/elog/

I am the administrator of the former. I want to keep the CMSROC logbook content
local, but I would like to make a link to the CMS CERN logbook visible from
http://nippon.fnal.gov:8081/
and ideally to have it show up as a tab from any sub-page.


You can achieve that with the top text option, which lets you define some HTML code visible at every ELOG page. Just create a file, let's call it top.html, and put in following contents:
<table class="frame" cellpadding=0 cellspacing=0>
<tr><td class="tabs">
<span class="sltab"><a href="https://cmsdaq.cern.ch/elog/" title="CMS ELOG at CERN">CMSDAQ</a></span>
</td></tr>
</table>

Then put following statement into your elogd.cfg:
Top text = top.html

That should do the job.
  1832   Fri May 19 12:19:38 2006 Reply Stefan Rittstefan.ritt@psi.chRequestWindowsELOG V2.6.Re: Re: $datetime display

Fergus Lynch wrote:
Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.

I dont nee the seconds display!

Could you please clarify the systax for me.


Can you show me the elogd.cfg syntax you try to use?
  1834   Sat May 20 09:48:52 2006 Reply Stefan Rittstefan.ritt@psi.chRequestWindowsELOG V2.6.Re: Re: $datetime display

Fergus Lynch wrote:

Stefan Ritt wrote:

Fergus Lynch wrote:
Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.

I dont nee the seconds display!

Could you please clarify the systax for me.


Can you show me the elogd.cfg syntax you try to use?



Hi There!

See in bold below (I'm sure this is me being dense, so thanks for quick reply)

Fergus

Theme = default
Comment = Recording work carried out on any core system
Time format = %B %d, %Y, %H:%M
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status


What about

Time format = %B %d, %Y, %H:%M:%S
  1837   Wed May 24 09:00:34 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.1Re: Display legal banner

Ed To wrote:
I read somewhere that javascript is supported with elog. For legal reasons, I have to post a legal banner before the login prompt. Can you tell me how to do this? I'm not a programmer, but I guess I could use the javascript alert command to do this. What file would I need to change?


Unfortunately it was not possible to do that for the login page, so I had to add a new option Bottom text login which I implemented just now. You can now indeed use the alert command to do what you want, like

in elog.cfg:
Bottom text login = alert.html

and in alert.html:
<script language="JavaScript" type="text/javascript">
<!--
  alert("Hello world");
//-->
</script>

or whatever legal statement you have to make.

The new version can be downloaded as elog261-5.exe from the home page.
ELOG V3.1.5-3fb85fa6