ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1902
|
Tue Aug 15 13:44:45 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | | Re: Conditional E-Mail Attributes | Conditional attributes have been made working in email notifications sometime in version 2.6.0. You might have to upgrade to the recent version, but then it should work. |
1903
|
Fri Aug 18 14:22:07 2006 |
| Grant Jeffcote | grant@jeffcote.org | Question | Windows | | Re: Conditional E-Mail Attributes |
Stefan Ritt wrote: | Conditional attributes have been made working in email notifications sometime in version 2.6.0. You might have to upgrade to the recent version, but then it should work. |
I'm using your latest binary release but still can't seem to get the 'Email Encoding' function to be decided under a conditional entry? There are no other references to email encoding in the logbook but it defaults to type 2 on all emails regardless of what the conditional attribute is set to.
Example below:
{1}Email attributes = Event Date, Event Start, Event End,
{1}Email Encoding = 2
{2}Email attributes = Service Affected, Ticker Text,
{2}Email All = seg@sdf.com
{2}Preset text = Ticker Text Entry
{2}Email Encoding = 1
{3}Email attributes = SMS,
{3}Email Encoding = 1
{3}Email All = sdb@sdf.com
Thx
|
1904
|
Fri Aug 18 15:31:53 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | | Re: Conditional E-Mail Attributes | If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host
[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}
{1}Email encoding = 1
{2}Email encoding = 2
then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}
in order to set a condition. |
1905
|
Sat Aug 19 15:47:52 2006 |
| Grant Jeffcote | grant@jeffcote.org | Question | Windows | | Re: Conditional E-Mail Attributes |
Stefan Ritt wrote: | If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host
[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}
{1}Email encoding = 1
{2}Email encoding = 2
then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}
in order to set a condition. |
I use conditional attributes to select the fields I would like displayed on a form or page.
I understand how they work but wish to set the Email Encoding automatically depending on which item they choose from a drop down list (ie. which form they are using)
For example, if they choose 'Fred Bloggs' from the conditional drop down attribute 'Name' it will set the page so that only 'Fred Bloggs' required attributes are viewable. I wish to send this page in Plain text when submitted.
If 'Fred Jones' is chosen then only attributes applicable to 'Fred Jones' are shown. When he submits his entry then I need the email to be sent in HTML.
The email encoding option would have to be set under either Fred Bloggs{1} or Fred Jones{2} conditions.
Attributes = Name,
Options Name = Fred Bloggs{1}, Fred Jones{2}
{1}Email encoding = 1
{1}Email All = sed@frd.fg
{2}Email encoding = 2
{2}Email All = sdf@fgd.hg
I can get options like 'Email All = sed@frd.fg' to change to another email address when used as above but not Email formatting.
I have all the other conditional attributes working fine otherwise but would really like to be able to add this option.
Thanks for your help. |
1906
|
Sat Aug 19 18:45:22 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | | Re: Conditional E-Mail Attributes |
Grant Jeffcote wrote: |
Stefan Ritt wrote: | If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host
[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}
{1}Email encoding = 1
{2}Email encoding = 2
then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}
in order to set a condition. |
I use conditional attributes to select the fields I would like displayed on a form or page.
I understand how they work but wish to set the Email Encoding automatically depending on which item they choose from a drop down list (ie. which form they are using)
For example, if they choose 'Fred Bloggs' from the conditional drop down attribute 'Name' it will set the page so that only 'Fred Bloggs' required attributes are viewable. I wish to send this page in Plain text when submitted.
If 'Fred Jones' is chosen then only attributes applicable to 'Fred Jones' are shown. When he submits his entry then I need the email to be sent in HTML.
The email encoding option would have to be set under either Fred Bloggs{1} or Fred Jones{2} conditions.
Attributes = Name,
Options Name = Fred Bloggs{1}, Fred Jones{2}
{1}Email encoding = 1
{1}Email All = sed@frd.fg
{2}Email encoding = 2
{2}Email All = sdf@fgd.hg
I can get options like 'Email All = sed@frd.fg' to change to another email address when used as above but not Email formatting.
I have all the other conditional attributes working fine otherwise but would really like to be able to add this option.
Thanks for your help. |
Can you please try the above configuration example, and can you please tell me exactly which version of elog you are using? If I try that example with ELOG V2.6.2-1714, it works fine (it DOES change the email encoding). |
1907
|
Sat Aug 19 20:12:42 2006 |
| Grant Jeffcote | grant@jeffcote.org | Question | Windows | | Re: Conditional E-Mail Attributes |
Stefan Ritt wrote: |
Grant Jeffcote wrote: |
Stefan Ritt wrote: | If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host
[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}
{1}Email encoding = 1
{2}Email encoding = 2
then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}
in order to set a condition. |
I use conditional attributes to select the fields I would like displayed on a form or page.
I understand how they work but wish to set the Email Encoding automatically depending on which item they choose from a drop down list (ie. which form they are using)
For example, if they choose 'Fred Bloggs' from the conditional drop down attribute 'Name' it will set the page so that only 'Fred Bloggs' required attributes are viewable. I wish to send this page in Plain text when submitted.
If 'Fred Jones' is chosen then only attributes applicable to 'Fred Jones' are shown. When he submits his entry then I need the email to be sent in HTML.
The email encoding option would have to be set under either Fred Bloggs{1} or Fred Jones{2} conditions.
Attributes = Name,
Options Name = Fred Bloggs{1}, Fred Jones{2}
{1}Email encoding = 1
{1}Email All = sed@frd.fg
{2}Email encoding = 2
{2}Email All = sdf@fgd.hg
I can get options like 'Email All = sed@frd.fg' to change to another email address when used as above but not Email formatting.
I have all the other conditional attributes working fine otherwise but would really like to be able to add this option.
Thanks for your help. |
Can you please try the above configuration example, and can you please tell me exactly which version of elog you are using? If I try that example with ELOG V2.6.2-1714, it works fine (it DOES change the email encoding). |
My version shows V2.6.2-1699.
I noticed you have 1714, is that the latest binary or your compiled CVS release?
Thx |
1920
|
Sun Sep 3 21:57:00 2006 |
| Arno Teunisse | arno.teunisse@simac.nl | Question | Windows | | Attribute and checkbox | In the screen shots I see checkboxes before the attributes. How can I do that ??
In the doc I saw Options <attribute> = boolean. But that creates a checkbox in the fill in form after the attribute. See second attached picture. The first attached picture shows what I want but I can only get the result in the second picture. Can anybody help me in this one. ( Is there an option checked for the attributes ? |
Attachment 1: untitled.JPG
|
|
Attachment 2: untitled1.JPG
|
|
1922
|
Mon Sep 4 22:36:03 2006 |
| Arno Teunisse | arno.teunisse@hetnet.nl | Question | Windows | | Re: Attribute and checkbox | In the screen shots I see checkboxes before the attributes. How can I do that ??
In the doc I saw Options = boolean. But that creates a checkbox in the fill in form after the attribute. See second attached picture. The first attached picture shows what I want but I can only get the result in the second picture. Can anybody help me in this one. ( Is there an option checked for the attributes ?
Just answer it myself : I thought of the checkboxes in front of the attributes as boolean. However, it has to to with the browse feature filtered browsing =1= In this way you can, when checking one of the checkboxes, browse to the same item clicking the next and previous button. Sorry , my question was about RTFM ( Read The Fucking Manual ) So this question is solved.
However , it would be nice to have a checkbox in front of one attribute. Suppose you have a lot a entries in a record ,that are readonly( predefined). The user of the form must only confirm that a job is done by checking the checkbox without going to the edit mode. So, the checkbox is writable in readonly mode. I can inmagine something like : attribute record check = attribute in the configuration file. In this way the user of the form says : job done.
There can be only one checkbox for the record.
[ job done] [ customer ] [ activity ] [ What should be done ]
[X] BLA Check job1 Backup mail check
[] BLA1 Check job2 check error report
[X] Bla2 Check job3 check MQ jobs
Is this possible ?? It's just an idea
Thanks for your reading this |
|