Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 15 of 806  Not logged in ELOG logo
    icon13.gif   Re: checkbox, posted by deletoille on Mon May 28 04:53:48 2007 

deletoille wrote:

Stefan Ritt wrote:

deletoille wrote:
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?


I tried with V2.6.2-1741 and the problem was not there. It was fixed some time ago, so it should have worked in 1723 as well. Can you try the minimal example coming with the distribution, just by adding one MOptions attribute, like:
[global]
port = 8080

[demo]
Attributes = Author, Type
MOptions Type = Routine, Software Installation, Problem Fixed, Configuration, Other

and see if it work there? If it works correctly there but not with your config file, please send me your config file and I will try to reproduce the problem.



You're right it works
It must be in my programming method
I share you my config file.
Thanks for your help




Hello,
I wrote a small program for another group and I have always the same problem of activation box who disappears when I upload a file. On the other hand, I noticed that the problem is only for the conditional attribute and not for the other. Here included the small program. an idea?

Thanks in advance
Xavier Deletoille

[global]
port = 8080
[GMI]
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, 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
{B} MOptions Equipement = U20, U26, W50
{C} MOptions Equipement = HU640, HU256
{D} MOptions Equipement = Dipole, Quadripole, Sextupole
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 = xxxxxx,xxxxxxxy,xxxxxft
Options Type evenement = Alimentation, Bobines, Moteur, TLCC, CPCI, Communication, Autres
    icon2.gif   Re: Post appearing twice, posted by deletoille on Tue Jun 12 11:07:39 2007 

Stefan Ritt wrote:

Alan Grant wrote:
I was having a very similar problem. After clicking Submit, I was getting dialog box "Submit modified Elog entry?" (with Submit or Cancel options) even though it was a new entry. Whenever I clicked Submit, it added two identical lines (except for ID), but when I clicked Cancel, it added only one entry. This happened in both v2.6.3 and v2.6.5.


Can you try to reproduce your problem with a minimal configuration file and send it to me?


I had the same problem but by adding the "Use lock = 0" option to the configuration, confirmation disappear
icon13.gif   Show attributes , posted by deletoille on Wed Jul 4 11:51:22 2007 
with the last version, Show attributes commands seem to not working any more. could you chech this?

thanks in advance

Xavier Deletoille
    icon2.gif   Re: Show attributes , posted by deletoille on Tue Jul 17 11:17:49 2007 

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
    icon2.gif   Re: Show attributes , posted by deletoille on Tue Jul 17 11:45:02 2007 

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?
    icon2.gif   Re: Show attributes , posted by deletoille on Tue Jul 17 13:24:58 2007 elog.JPG

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.

    icon14.gif   Re: Show attributes , posted by deletoille on Tue Jul 17 14:05:50 2007 

Stefan Ritt wrote:
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.


ok sorry sorry
its works with show attributes edit Tongue
icon5.gif   quick filter, posted by deletoille on Thu Jan 14 16:43:16 2010 

Hello,

We would like to use more the quick filter command on attributes.

On the other hand, when we use it, the result does not displaying entries which are in answer of another attribute. Is there a command which allow that possibility like when we select display full entries in the search mode?

Thanks in advance

Xavier

ELOG V3.1.5-3fb85fa6