Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 205 of 796  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  2285   Sat Jun 30 21:29:30 2007 Reply Grant Jeffcotegrant@jeffcote.orgBug reportWindows2.65-2Re: Fixed Attribute fields blank?

Stefan Ritt wrote:

Grant Jeffcote wrote:
Not sure if this is my configuration only but in your latest compiled release V2.6.5-1873 when I do a reply or edit on an entry where I have specified Fixed Attributes Edit or Reply these fields now show blank on the entry page? They are still uneditable as a field of course and the text still shows on the list view display page but no text shows in these fields until re/submitted.


I'm playing with attributes right now since I'm going to implement a "multiple edit", where one can change attributes of several entries at the same time, but I cannot reproduce your problem with V2.6.5-1874 and this config file:
[demo]
Attributes = Author, Subject
Fixed Attributes Edit = Subject
Fixed Attributes Reply = Subject

Either I fixed it accidentally between 1873 and 1874 or it is config file related. Can you try that version and the little config file above? Since you use Windows, I made a elog265-3 for you. If you find that the little config works and your's doesn't, please send me your config.


Great job, thanks Stefan.
Accidental fix, new version works perfectly without any config file change.
  2287   Wed Jul 4 16:39:10 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows6.5-1874Re: Show attributes

deletoille wrote:
with the last version, Show attributes commands seem to not working any more. could you chech this?


I checked and they still work. But maybe you got confused between Show Attributes (for the single page view), Show Attributes Edit (for the edit form) and List Display (for the list of entries). Can you check this?
  2289   Thu Jul 12 18:36:05 2007 Reply Stefan Rittstefan.ritt@psi.chQuestion 2.6.5-1872Re: is it possible to have unique attribute ?

toumbi wrote:
I have an attribute that have to be unique (but i need also to write it myself) , so i would like to be able to create it the first time, and if i try to create it again, i want not be able.
Is there a way to do that ?


That kind of functionality is unfortunately not implemented. All you can do is to use an automatically generated unique attribute with the syntax:
Preset <attribute> = XYZ-####

or similar. Please consult the documentation for details.
  2290   Tue Jul 17 11:17:49 2007 Reply deletoillexavier.deletoille@synchrotron-soleil.frBug reportWindows6.5-1886Re: Show attributes

Stefan Ritt wrote:

deletoille wrote:
with the last version, Show attributes commands seem to not working any more. could you chech this?


I checked and they still work. But maybe you got confused between Show Attributes (for the single page view), Show Attributes Edit (for the edit form) and List Display (for the list of entries). Can you check this?


here a small example with the function: "show attributes". that functions with release 1748 but not with the last release 1886.
All the attributes appear at the same time whereas I would wish only the 2 first.

Start page = ?rsort=date
Quick filter = Type evenement
Time Format = %d %m %Y, %H:%M
Quote on reply = 0
Use Lock = 0
List display = id, Icone, date, Equipement, Type evenement, Localisation, auteur
Menu commands = List, New, Edit, Reply, Find, Config
Comment = Cahier de Manip du groupe GMI
********************************************************************************************************************

attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement
Required attributes = auteur, Icone, Type Equipement, Localisation, Type evenement
show attributes = auteur,Icone, Type Equipement
{A}show attributes = auteur,Icone, Type Equipement, Equipement, Localisation, Type evenement


Preset on reply auteur =

Options Type Equipement = Apple II{A}, Sous vide{B}, Electromagnetique{C}, Aimant{D}
{A} MOptions Equipement = HU80, HU65, HU60, HU52, HU50, HU40, HU30


IOptions Icone = oui.gif, non.gif, cleanglaise1515.png, paper.png


Moptions Localisation = C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12, C13, C14, C15, C16, Booster

Options Auteur = xxxx,xxxxsz,xsfs

Options Type evenement = Alimentation, Bobines, Moteur, TLCC, CPCI, Communication, Autres
  2291   Tue Jul 17 11:30:16 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows6.5-1886Re: Show attributes

deletoille wrote:
here a small example with the function: "show attributes". that functions with release 1748 but not with the last release 1886.
All the attributes appear at the same time whereas I would wish only the 2 first.


I tried your config file, and it works as expected. If your equipment type is Sour vide, then only three attributes are shown according to your config statement:
show attributes = auteur,Icone, Type Equipement

Here is how it looks in my browser:



If you choose however equipment type Apple II (do you still use those computers at soleil?), then you have condition {A} which activates your config statement:
{A}show attributes = auteur,Icone, Type Equipement, Equipement, Localisation, Type evenement

showing of course more attributes:

  2292   Tue Jul 17 11:45:02 2007 Reply deletoillexavier.deletoille@synchrotron-soleil.frBug reportWindows6.5-1886Re: Show attributes

Stefan Ritt wrote:

deletoille wrote:
here a small example with the function: "show attributes". that functions with release 1748 but not with the last release 1886.
All the attributes appear at the same time whereas I would wish only the 2 first.


I tried your config file, and it works as expected. If your equipment type is Sour vide, then only three attributes are shown according to your config statement:
show attributes = auteur,Icone, Type Equipement

Here is how it looks in my browser:



If you choose however equipment type Apple II (do you still use those computers at soleil?), then you have condition {A} which activates your config statement:
{A}show attributes = auteur,Icone, Type Equipement, Equipement, Localisation, Type evenement

showing of course more attributes:



I'd try again and that does not works. does the problem come from the windows version?
  2293   Tue Jul 17 11:50:44 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows6.5-1886Re: Show attributes

deletoille wrote:
I'd try again and that does not works. does the problem come from the windows version?


Certainly not. Double check that you have the current elog version (check the ELOG V2.6.5-1887 at the bottom). If you are on windows, you can try to install elog265-7.exe which is the most recent one.
  2294   Tue Jul 17 13:24:58 2007 Reply deletoillexavier.deletoille@synchrotron-soleil.frBug reportWindows6.5-1886Re: Show attributes

Stefan Ritt wrote:

deletoille wrote:
I'd try again and that does not works. does the problem come from the windows version?


Certainly not. Double check that you have the current elog version (check the ELOG V2.6.5-1887 at the bottom). If you are on windows, you can try to install elog265-7.exe which is the most recent one.


I am sorry but I have the same thing on a colleague PC. that functions works on the old version but not on the last 1886 (see at the bottom). When I push "new" boutton, all is displayed at the same time.

ELOG V3.1.5-2eba886