Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 365 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  1032   Tue Mar 29 13:29:56 2005 Reply Alex Ha.herrmannsynergie-inf.comBug reportWindowsV2.5.8-1Re: Preset text Dont work more!
> > I'am using Elog V2.5.8-1 and the "Preset Text" option don't work more 
since 
> > I've updated Elog. could you fix it?
> 
> I tried with the example elogd.cfg and it worked there, so it must have 
to do
> with your special configuration. Can you send me your elogd.cfg so that I 
could
> reproduce your problem?
> 
> - Stefan

Hello Stefan,
Here is my elogd.cfg.
I hope this will help you :)

when we be released the next elog version who correct the crash of Protect 
Selection page = 1 ?
thanks for all
  1033   Tue Mar 29 13:55:58 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportWindowsV2.5.8-1Re: Preset text Dont work more!
> Here is my elogd.cfg.
> I hope this will help you :)

Yes it did. You were the first one using an attribute containing a dot inside a
required attribute ("Maint."). This crashed JavaScript. I found a workaround and
implemented it.

> when we be released the next elog version who correct the crash of Protect 
> Selection page = 1 ?

I just release 2.5.8-2 which contains both fixes.
  1041   Wed Mar 30 17:09:27 2005 Reply Alex Ha.herrmannsynergie-inf.comBug reportWindowsV2.5.8-1Re: Preset text Dont work more!
> > Here is my elogd.cfg.
> > I hope this will help you :)
> 
> Yes it did. You were the first one using an attribute containing a dot inside a
> required attribute ("Maint."). This crashed JavaScript. I found a workaround and
> implemented it.
> 
> > when we be released the next elog version who correct the crash of Protect 
> > Selection page = 1 ?
> 
> I just release 2.5.8-2 which contains both fixes.

Hi,
I've change my Attribute "Maint." to "Maint" in my elogd.cfg and in my Logbook too 
but the problem is the same, I have restarted the service but the problem is still 
here. Any idea? o_O
  1042   Wed Mar 30 17:11:33 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportWindowsV2.5.8-1Re: Preset text Dont work more!
> I've change my Attribute "Maint." to "Maint" in my elogd.cfg and in my Logbook too 
> but the problem is the same, I have restarted the service but the problem is still 
> here. Any idea? o_O

Have you upgraded to 2.5.8-2 ? After the upgrade, "Maint." (with the dot) should also work.
  1043   Thu Mar 31 09:37:12 2005 Reply Alex Ha.herrmannsynergie-inf.comBug reportWindowsV2.5.8-2Re: Preset text Dont work more!
> > I've change my Attribute "Maint." to "Maint" in my elogd.cfg and in my 
Logbook too 
> > but the problem is the same, I have restarted the service but the 
problem is still 
> > here. Any idea? o_O
> 
> Have you upgraded to 2.5.8-2 ? After the upgrade, "Maint." (with the dot) 
should also work.

Yes I have upgraded Elog to 2.5.8-2.
I submit my new elogd.cfg file maybe it will help you.
I have try the preset text under Firefox (the last), avant browser 10.0 
(build 165) and IE 6 SP1.

Thanks for help :o)
  1044   Thu Mar 31 09:46:21 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportWindowsV2.5.8-2Re: Preset text Dont work more!
> Yes I have upgraded Elog to 2.5.8-2.
> I submit my new elogd.cfg file maybe it will help you.
> I have try the preset text under Firefox (the last), avant browser 10.0 
> (build 165) and IE 6 SP1.

I tested your config file under Firefox (the last) and it worked fine. On the
"Liste Routeurs & Firewall", I click "New", then select FWL1, then see the text
"FLW1.txt" in the main body. I don't have that file, so elog by default just
shows the file name.

I also realized that you have double entries in your config file (like two
"Attributes = " and "Options Type = " lines. However this should not be a
problem, elog just chooses the first one.

If your preset text does not work, it could be that you have switched off
JavaScript. In Firefow, you can open the JavaScript console (Tools/JavaScript
console). Maybe you see any error there.

- Stefan
  1045   Thu Mar 31 10:33:10 2005 Agree Alex Ha.herrmannsynergie-inf.comBug reportWindowsV2.5.8-2Re: Preset text Dont work more!
> > Yes I have upgraded Elog to 2.5.8-2.
> > I submit my new elogd.cfg file maybe it will help you.
> > I have try the preset text under Firefox (the last), avant browser 10.0 
> > (build 165) and IE 6 SP1.
> 
> I tested your config file under Firefox (the last) and it worked fine. On the
> "Liste Routeurs & Firewall", I click "New", then select FWL1, then see the text
> "FLW1.txt" in the main body. I don't have that file, so elog by default just
> shows the file name.
> 
> I also realized that you have double entries in your config file (like two
> "Attributes = " and "Options Type = " lines. However this should not be a
> problem, elog just chooses the first one.
> 
> If your preset text does not work, it could be that you have switched off
> JavaScript. In Firefow, you can open the JavaScript console (Tools/JavaScript
> console). Maybe you see any error there.
> 
> - Stefan

Ok I have fix the problem :)
Options Type = FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4},VPN2{5}
{1} Preset text = FWL1.txt
{2} Preset text = FWL2.txt
{3} Preset text = FWL4.txt
{4} Preset text = VPN1.txt
{5} Preset text = VPN2.txt
I have delete the "" for example FWL1.txt instead of "FWL1.txt" and I've delete 
the double entries too. In fact I don't know why, ELOG has take the second Options 
Type instead of the one :)! Now It work fine :)

Thanks a lot Stefan ;)
  66721   Sun Feb 21 13:48:56 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxlatestRe: Preset text =

tom wrote:

I am looking for the correct syntax for Preset Text =

 

I have an html file I want set in the editor so that my users can just enter in the data below the predetermined heading.  What is the correct syntax/file location.  

 

Thanks!

The documentation says:

  • Preset text = <string> or <file>
    This preset value is used for the main body text. It can be a string or a file, which must be present in the logbook directory. Alternatively, an absolute path can be used if the file name starts with a "/" (Unix) or "\" or "x:" (Windows).

and there is nothing to add. There is no special syntax on that file, it just gets copied 1:1 into the edit box. 

ELOG V3.1.5-3fb85fa6