Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 206 of 806  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
  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.

  2295   Tue Jul 17 13:28:29 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows6.5-1886Re: Show attributes
Grrrr. I already told you in elog:2287 to use Show Attributes Edit instead of Show Attributes. So put following into your config file:

show attributes edit = auteur,Icone, Type Equipement

Note the edit.
  2299   Tue Jul 24 08:30:02 2007 Reply Stefan Rittstefan.ritt@psi.chBug report 2.6.5-1872Re: CVS import + french = impossible

toumbi wrote:
Hi ,
I found a bug , when I want to import a cvs file and if i had set Language=french into global , I m not allowed.
Erreur : commande "CSV Import" non autorisée 
Utilisez le bouton "page précédente" de votre navigateur pour revenir en arrière  

there is no problem if i use english.


This bug has been fixed in SVN revision 1892 and will be contained in the next release.
ELOG V3.1.5-3fb85fa6