Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 223 of 796  Not logged in ELOG logo
IDup Date Icon Author Author Email Category OS ELOG Version Subject
  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.
  1831   Fri May 19 12:10:54 2006 Angy Fergus Lynchflynch@alternativenetworks.comRequestWindowsELOG V2.6.$datetime display
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.

Many Thanks
Fergus
  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?
  1833   Fri May 19 14:01:34 2006 Reply Fergus Lynchflynch@alternativenetworks.comRequestWindowsELOG V2.6.Re: Re: $datetime display

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
  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
  1835   Mon May 22 10:37:36 2006 Reply Fergus Lynchflynch@alternativenetworks.comRequestWindowsELOG V2.6.Re: Re: $datetime display

Stefan Ritt wrote:

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


Thanks, did the trick and working perfectly (I was being dense!)
  1836   Wed May 24 08:22:36 2006 Smile Ed Toeto@arc.nasa.govQuestionWindows2.6.1Display legal banner
Hi,

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?

Thank you for your help.

Ed.
  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-2eba886