Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Locking the Text field, posted by Todd Corsa on Fri Jul 2 22:20:37 2004 
    icon2.gif   Re: Locking the Text field, posted by Stefan Ritt on Wed Jul 7 18:13:26 2004 
       icon2.gif   Re: Locking the Text field, posted by Todd Corsa on Fri Jul 9 18:14:59 2004 
          icon2.gif   Re: Locking the Text field, posted by Todd Corsa on Mon Jul 12 15:13:56 2004 
Message ID: 574     Entry time: Wed Jul 7 18:13:26 2004     In reply to: 568     Reply to this: 578
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.5.3 
Subject: Re: Locking the Text field 
> Is there a way to disable editing of the textarea, but still allow editing 
> of other fields in the entry? (e.g. Fixed Attributes Edit = Text)

I could add that option, but I don't know if it helps you (see below).

> Also, is the data entered in that field accessible through a variable like 
> $author? I tried $text, but that doesn't seem to work.

No, that won't work. Attributes are limite to some 500 characters, while the
text body is limited to 250000 characters. If you add $text to an attribute, it
would overflow or you would have to truncate the text, which I guess is not
good in both cases.

If you still want "Fixed attributes edit = text", please explain me you exact
case and I will consider implementing it.
ELOG V3.1.5-fe60aaf