ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68695
|
Sat Oct 28 09:12:32 2017 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | V3.1.1-0767eb0 | Re: Attribute option "+x" not searcheable | Hi Stefano,
you could try to html encode the "+" and "-" sign in the option list
Options Half = +x, -x, both
Allow HTML = 1
But of course then you would need to change all existing entries.
It is just an idea; I did not try this out, it might not work anyway.
Cheers
Andreas
> Dear experts,
> I have an elog with an attribute with fixed values, like this:
>
> Attributes = Half
> Options Half = +x, -x, both
>
> It works fine, but I would like to find (or quick filter) all entries with Half=+x .
>
> If I go to the search form, I can select +x from the dropdown menu for Half, but the search returns no result, even if I do have a number of entries with Half=+x. Likewise if I try to do the same with Quick filter.
>
> I believe that this is due to the fact that the search uses regex, and "+" is reserved. I've tried to perform a search by entering manually and escaped "\+x", and it works as intended.
>
> https://.../?mode=summary&reverse=0&reverse=1&npp=20&Half=%5E%5C%2Bx%24
>
> However, since this attribute has a list of fixed values, it is not possible to entry manually something different "\+x" than what is defined in the config, that is "+x".
>
> Is there a solution for this problem?
>
> I would rather not change the attributes options (to, say, positive/negative), since that would mean changing manually a non negligible number of entries.
>
> thanks,
> Stefano |
68694
|
Mon Oct 23 11:47:50 2017 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Question | Linux | V3.1.1-0767eb0 | Attribute option "+x" not searcheable | Dear experts,
I have an elog with an attribute with fixed values, like this:
Attributes = Half
Options Half = +x, -x, both
It works fine, but I would like to find (or quick filter) all entries with Half=+x .
If I go to the search form, I can select +x from the dropdown menu for Half, but the search returns no result, even if I do have a number of entries with Half=+x. Likewise if I try to do the same with Quick filter.
I believe that this is due to the fact that the search uses regex, and "+" is reserved. I've tried to perform a search by entering manually and escaped "\+x", and it works as intended.
https://.../?mode=summary&reverse=0&reverse=1&npp=20&Half=%5E%5C%2Bx%24
However, since this attribute has a list of fixed values, it is not possible to entry manually something different "\+x" than what is defined in the config, that is "+x".
Is there a solution for this problem?
I would rather not change the attributes options (to, say, positive/negative), since that would mean changing manually a non negligible number of entries.
thanks,
Stefano |
68693
|
Wed Oct 11 15:55:02 2017 |
| Tim Schelfhout | tim.schelfhout@fixbrussel.be | Question | Windows | ELOG V3.1.2-793 | Date must be between 1970 and 2037?? | Hey there,
Trying to record birthdates in ELOG ... field type being date results in error:
Date must be between 1970 and 2037 |
Can this be avoided? I like the fact that one can use the date picker to enter birthdate |
68692
|
Mon Oct 2 15:53:39 2017 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | ELOG V3.1.3-fd7 | Re: Format Form | The link does now work in the email, but if you go to the web interface of the forum it does work.
Anyhow, you can go directly to https://midas.psi.ch/elogs/Forum/66909
Stefan
Tim Schelfhout wrote: |
Thankx 4 the quick reply Stefan. The link you provided does not work .... could you point me again in the
right direction? Where can I find more info on this ability?
Thankx
Stefan Ritt wrote:
|
The way and entry form can be customized is kind of limited in elog. You can use "format <attribute> = ..." to request a certain width, number of allowed characters and special CSS class (which of course you have to define). If you want a complete custom entry form, have a look here: elog:66909 . This requires however writing your own HTML, CSS and JavaScript.
Stefan
Tim Schelfhout wrote: |
Hello there,
I am trying to format my entry form a little bit more practical and readable. I am struggling with the following:
- Numbers should be standard fields of 3 characters and can only be 3 characters wide (doing this by Format Leeftijd=1, css, 3, 3)
- Text Entry fields should be max. width of 15 characters ?
Also struggling with mutliple fields on one line:
- Can Spacing between fields be controlled? Even vertical spacing?
- When omitting the css in the Format syntax, the fieldname and field gets colored dark blue
.. found via css inspection a part solution using this (Format Leeftijd=1, attribname, 3, 3), but then the value still gets colored dark blue
Also I see that when one formats the entry field in edit mode it shows differently in list mode. (for example set width is not enforced in list mode)
Anyone ?
|
|
|
|
68691
|
Mon Oct 2 15:20:04 2017 |
| Tim Schelfhout | tim.schelfhout@fixbrussel.be | Question | Windows | ELOG V3.1.3-fd7 | Re: Format Form | Thankx 4 the quick reply Stefan. The link you provided does not work .... could you point me again in the
right direction? Where can I find more info on this ability?
Thankx
Stefan Ritt wrote:
|
The way and entry form can be customized is kind of limited in elog. You can use "format <attribute> = ..." to request a certain width, number of allowed characters and special CSS class (which of course you have to define). If you want a complete custom entry form, have a look here: elog:66909 . This requires however writing your own HTML, CSS and JavaScript.
Stefan
Tim Schelfhout wrote: |
Hello there,
I am trying to format my entry form a little bit more practical and readable. I am struggling with the following:
- Numbers should be standard fields of 3 characters and can only be 3 characters wide (doing this by Format Leeftijd=1, css, 3, 3)
- Text Entry fields should be max. width of 15 characters ?
Also struggling with mutliple fields on one line:
- Can Spacing between fields be controlled? Even vertical spacing?
- When omitting the css in the Format syntax, the fieldname and field gets colored dark blue
.. found via css inspection a part solution using this (Format Leeftijd=1, attribname, 3, 3), but then the value still gets colored dark blue
Also I see that when one formats the entry field in edit mode it shows differently in list mode. (for example set width is not enforced in list mode)
Anyone ?
|
|
|
68690
|
Mon Oct 2 14:58:32 2017 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | ELOG V3.1.3-fd7 | Re: Format Form | The way and entry form can be customized is kind of limited in elog. You can use "format <attribute> = ..." to request a certain width, number of allowed characters and special CSS class (which of course you have to define). If you want a complete custom entry form, have a look here: elog:66909 . This requires however writing your own HTML, CSS and JavaScript.
Stefan
Tim Schelfhout wrote: |
Hello there,
I am trying to format my entry form a little bit more practical and readable. I am struggling with the following:
- Numbers should be standard fields of 3 characters and can only be 3 characters wide (doing this by Format Leeftijd=1, css, 3, 3)
- Text Entry fields should be max. width of 15 characters ?
Also struggling with mutliple fields on one line:
- Can Spacing between fields be controlled? Even vertical spacing?
- When omitting the css in the Format syntax, the fieldname and field gets colored dark blue
.. found via css inspection a part solution using this (Format Leeftijd=1, attribname, 3, 3), but then the value still gets colored dark blue
Also I see that when one formats the entry field in edit mode it shows differently in list mode. (for example set width is not enforced in list mode)
Anyone ?
|
|
68689
|
Mon Oct 2 12:55:18 2017 |
| Tim Schelfhout | tim.schelfhout@fixbrussel.be | Question | Windows | ELOG V3.1.3-fd7 | Format Form | Hello there,
I am trying to format my entry form a little bit more practical and readable. I am struggling with the following:
- Numbers should be standard fields of 3 characters and can only be 3 characters wide (doing this by Format Leeftijd=1, css, 3, 3)
- Text Entry fields should be max. width of 15 characters ?
Also struggling with mutliple fields on one line:
- Can Spacing between fields be controlled? Even vertical spacing?
- When omitting the css in the Format syntax, the fieldname and field gets colored dark blue
.. found via css inspection a part solution using "Format Leeftijd=1, attribname, 3, 3", which solves the field title
but then the value still gets colored dark blue
Also I see that when one formats the entry field in edit mode it shows differently in list mode. (for example set width is not enforced in list mode)
Anyone ?
|
Attachment 1: ELOG_Kandidaten.png
|
|
68688
|
Wed Sep 20 16:34:18 2017 |
| Ben Shepherd | ben.shepherd@stfc.ac.uk | Request | Linux | 3.1.0-2411f95 | Email fields - accept semicolons too | My elog has a field for entering a list of email addresses, which goes into the "Email All" attribute. They need to be comma-separated, and an error is thrown if semicolons are used instead. Would it be possible to automatically change semicolons into commas before attempting to send the mail via SMTP? Neither character is allowed in email addresses so it shouldn't break anything to just do that silently. Thanks! |
|