Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 550 of 808  Not logged in ELOG logo
icon5.gif   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:
icon5.gif   resending information confirmation box after refresh interval, posted by Ken Ludington on Mon Nov 16 20:42:15 2015 errormsg.jpg
After submitting a new post, if the page is left completely alone,, it will after a few minutes prompt that the page needs to resend information.

This is the same prompt you'd get if you attempt to refresh a page that had session variables passsed to it. Example is attached.
    icon2.gif   Re: resending information confirmation box after refresh interval, posted by Stefan Ritt on Tue Nov 17 08:33:15 2015 
Start with the demo example configuration, add one line after the other from your config, and figure out which is the offending statement in your config,
then post a minimal configuration here which triggers the problem.




Ken
    icon2.gif   Re: Paste figure from Clipboard, CKEditor 4.5.1 and Firefox 42, posted by Simon Däster on Mon Nov 23 10:32:37 2015 
Updating CKeditor did work, thanks for the tip.
icon3.gif   Prefill attributes for new post, posted by Johan Forsberg on Tue Jan 12 11:35:55 2016 
Hi all,

I have a use case for ELOG where I need to be able to "prefill" some attributes in the "cmd=new" form, based on the URL.

To illustrate, imagine a link that takes the user directly to the form for creating a new post, with the "Subsystem" attribute already
    icon3.gif   Re: Prefill attributes for new post, posted by Andreas Luedeke on Tue Jan 12 11:48:57 2016 
Hi Johan,

yes, it is possible. And you were actually very close :-)

In order to pass preset-parameters within a URL, you
just need to prefix the fieldname with a "p". In your example, you would write "...&pSubsystems=Vacuum".

Here is
an example for the Linux Demo logbook:

https://midas.psi.ch/elogs/Linux+Demo/?cmd=New&pAuthor=Santa+Claus&pSubject=Christmas+Presents&pType=Problem+Fixed&pCategory=Hardware

 

This
    icon2.gif   Re: Prefill attributes for new post, posted by Stefan Ritt on Tue Jan 12 11:50:22 2016 
Put a "p" in front of the attribute, like "&pSubsystem=Vacuum". This is kind of an undocumented feature just for the experts
;-)




Johan
    icon2.gif   Re: Prefill attributes for new post, posted by Johan Forsberg on Tue Jan 12 14:05:55 2016 
Wow, than you both for the quick response! I agree it's quite a hidden gem, but the most important thing is that it works, thanks!




Stefan
Ritt wrote:



Put a "p" in front of the attribute, like "&pSubsystem=Vacuum".
ELOG V3.1.5-3fb85fa6