'Click through' order of elog enteries, posted by Fergus Lynch on Mon Jun 5 14:19:52 2006
|
Hi There,
When you find a set of records in ELOG and then 'click through' the returned list it runs through then in order of ID. - I s there a way to modify this behaviour?
Many Thanks
Fergus |
Re: 'Click through' order of elog enteries, posted by Stefan Ritt on Tue Jun 6 16:20:42 2006
|
Fergus Lynch wrote: | Hi There,
When you find a set of records in ELOG and then 'click through' the returned list it runs through then in order of ID. - I s there a way to modify this behaviour?
Many Thanks
Fergus |
Unfortunately not. |
Display legal banner, posted by Ed To on Wed May 24 08:22:36 2006
|
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. |
Re: Display legal banner, posted by Stefan Ritt on Wed May 24 09:00:34 2006
|
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. |
Re: Display legal banner, posted by Ed To on Wed May 24 18:09:51 2006
|
Stefan Ritt wrote: |
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. |
Wow, I wasn't expecting that quick of a response. Thanks Stefan. BTW, I really like elog. It's simple to setup and use. Keep up the good work. |
Re: Display legal banner, posted by Ed To on Thu May 25 02:28:27 2006
|
Stefan,
Thanks again. I got it to display my legal banner. |
$datetime display, posted by Fergus Lynch on Fri May 19 12:10:54 2006
|
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 |
Re: Re: $datetime display, posted by Stefan Ritt on Fri May 19 12:19:38 2006
|
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? |
Re: Re: $datetime display, posted by Fergus Lynch on Fri May 19 14:01:34 2006
|
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 |
Re: Re: $datetime display, posted by Stefan Ritt on Sat May 20 09:48:52 2006
|
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 |
Re: Re: $datetime display, posted by Fergus Lynch on Mon May 22 10:37:36 2006
|
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!) |
Linking two sets of logbooks, posted by Alan Stone on Wed May 17 23:39:23 2006
|
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.
Thanks in advance for any help.
Alan |
Re: Linking two sets of logbooks, posted by Stefan Ritt on Thu May 18 08:08:25 2006
|
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. |
Email notification question, posted by Kevin McCarty on Wed May 10 16:14:00 2006
|
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! |
Re: Email notification question, posted by Stefan Ritt on Wed May 10 16:16:33 2006
|
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> |
Re: Email notification question, posted by Kevin McCarty on Wed May 10 16:55:28 2006
|
Stefan Ritt wrote: |
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> |
Ah, thank you! Somehow I overlooked that. My apologies, and thanks for your very fast response. |
Feature request - site-specific ELCode markup definitions, posted by Kevin McCarty on Wed May 10 16:30:45 2006
|
Hi,
Here's a suggestion that you may or may not want to apply. It would be nice if there existed a config file (or a syntax in the existing elog.cfg file) that permitted sites to define their own ELCode patterns.
Let me give you a usage case. I thought it would be nice to have LaTeX expressions show up automatically on my group's ELog installation if they entered them like this: [math]x^2 + y^2 = r_0^2[/math] So in the source code file elogd.c, I hacked in the following additions to the definition of pattern_list[]:
{"[math]", "<img src = \"http://borex.princeton.edu/mimetex?"},
{"[/math]", "\" border = \"0\" align = \"absmiddle\" />"},
and recompiled ELog.
What this does is convert the LaTeX expression into a URL that uses the "mimetex" CGI program installed on my server to output a GIF file of the equation. So my users can have inline math expressions in their log entries, like this: . Obviously this is far too site-specific to be added to the official ELog code (unless you want to embed mimetex code into the server, which I kind of doubt ). But it would be nice if I could specify these patterns in a config file without having to edit the source code and recompile each time I want to install a new ELog version!
Presumably others could find a use for site-specific ELCode markup too (logos, custom smilies, etc.)
Thanks for your time. |
Spec file change, posted by Stephen A. Wood on Mon May 8 18:23:17 2006
|
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). |
Re: Spec file change, posted by Stefan Ritt on Tue May 9 08:07:00 2006
|
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. |
Date automatically generated by another one, posted by Alex H on Thu May 4 17:26:41 2006
|
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. |
Re: Date automatically generated by another one, posted by Stefan Ritt on Fri May 5 07:58:53 2006
|
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. |
Re: Date automatically generated by another one, posted by Alex H on Fri May 5 09:01:04 2006
|
Stefan Ritt wrote: |
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. |
OK! Thank for your response. |