Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 18 of 806  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  1245   Fri Jul 8 22:18:01 2005 Reply Stefan Rittstefan.ritt@psi.chRequestAll Re: <img> in Display Attribute

Emiliano Gabrielli wrote:
My goal is to be able to do the following :

Display Category              = $category <img src="icons/$category.png" border="0">


This way one can add a self explaining icon to the attribute or just replaceing it (only in visualization)

Is there another method to accomplish this ? otherwise I's in my wish list Smile


Ok, it's implemented in CVS.
  1246   Fri Jul 8 22:20:19 2005 Agree Gary Claysonimppster@gmail.comRequestWindows2.6.0-betaRe: Suppress Email notification checkbox

Stefan Ritt wrote:

Gary Clayson wrote:
Hello All. Stefan, would it be possible to add one more option to the Suppress Default flag? I'd appreciate a setting that would suppress emails being sent and remove the option from the page. Or, has this been accomplished? And, if so, what is that setting. Thanks in advance!! Keep up the great work.


I added
Suppress default = 3

which always suppresses email notifications. The addition is under CVS and will be included in the next release.

- Stefan


Thanks Stefan.
  1247   Fri Jul 8 22:25:39 2005 Reply Gary Claysonimppster@gmail.comRequestWindows2.6.0-betaRe: New Message Formatting and Default Settings

Stefan Ritt wrote:

Gary Clayson wrote:
How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect.


You need the current CVS version which has this implemented, or you wait for the next official release.


Gary Clayson wrote:
The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used).


MS Exchange Server has and SMTP server inside, I use this all the time.


Gary Clayson wrote:
Also How can I turn off the icon selection panel to the left of a new message text box?


By clicking on the smiley on the top row next to "FONT".


Gary Clayson wrote:
And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails?


You can put a
Suppress email to users = 1
into the config file, but the checkbox will still be there, but non-functional. Maybe I should remove it in that case...


Gary Clayson wrote:
PS Reworking the source code, then recompiling it, is not a viable option for me at this time.


You are not supposed to <b>rework</b> the source code, but if you want the cutting edge features, you need to recompile from CVS or wait for official releases.


I apologize for my using the incorrect language. I did not mean I would be rewriting your code, merely compiling, linking, and running the new version. The computer elog is loaded one is not one I have access to a compiler on. Sorry if I misspoke!

Gary
  1250   Sat Jul 9 16:06:58 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itRequestAll Re: <img> in Display Attribute

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
My goal is to be able to do the following :

Display Category              = $category <img src="icons/$category.png" border="0">


This way one can add a self explaining icon to the attribute or just replaceing it (only in visualization)

Is there another method to accomplish this ? otherwise I's in my wish list Smile


Ok, it's implemented in CVS.


Still a problem .. sorry:
Options Category              = Info,Report,Problem{1},Other
Preset Category               = Info
Display Category              = <img style="border:0; float:left; margin-right:5px" src="icons/$category.png">$category

{1}ROptions Level             = Notice,Warning,Alert,Fixed
{1}Preset Level               = Warning
{1}Display Level              = <img style="border:0; float:left; margin-right:5px" src="icons/$level.png">$level

when I try to use this featur on a conditional attr it is ignored .. If I remove the {1} it is obviously showed .. but also when no $level is defined (taht is infact not what should be)...



BTW, is it possible to not show conditional attributes in mail and in "single entry" view? .. it's quite strange to ave a "Level" of a "Misure", not a "Problem" Tongue


thank you in advance Smile
  1251   Sat Jul 9 17:21:51 2005 Idea Emiliano GabrielliAlberT@SuperAlberT.itRequestAll show/hide attachments
It would be nice ad usefull to have a "show/hide attachments" just at the side of "show only last" link ..
BTW, it would be nice if those settings would be stored in a cooky too Smile

thanx againg Stefan
  1252   Mon Jul 11 09:52:52 2005 Idea Emiliano GabrielliAlberT@SuperAlberT.itRequestAll userlist multiple select
Here I am again Smile

My goal is to put a "Co-Authors" Attribute in my logbook, giving the possibility to other people in the control room to have credits about an entry... I added a "Co-Author" attribute, but It shold permit a "multliple" selection (a checkbox is not good) ... the perfect solution would be to add the attribute "multiple" to the <select> tag, and filling the elog Attribute value with a comma separated list of the selections ...

tnx in advance Smile
  1255   Mon Jul 11 12:40:13 2005 Idea Stefan Rittstefan.ritt@psi.chRequestAll Re: userlist multiple select

Emiliano Gabrielli wrote:
Here I am again Smile

My goal is to put a "Co-Authors" Attribute in my logbook, giving the possibility to other people in the control room to have credits about an entry... I added a "Co-Author" attribute, but It shold permit a "multliple" selection (a checkbox is not good) ... the perfect solution would be to add the attribute "multiple" to the <select> tag, and filling the elog Attribute value with a comma separated list of the selections ...

tnx in advance Smile


Have you tried
MOptions ...
which gives you check boxes where more than one can be selected?

I presume you have, but you really would prefer a multi-selection box instead of multiple check boxes Wink . Well, let's make a deal: if you explain everybody how to do a selection in a multi-select box (with all the Shift-Click, CTRL-Click, and this under different operating systems), I will implement it Big grin
  1256   Mon Jul 11 13:13:27 2005 Reply Stefan Rittstefan.ritt@psi.chRequestAll Re: < img > in Display Attribute

Emiliano Gabrielli wrote:
Still a problem .. sorry:
Options Category              = Info,Report,Problem{1},Other
Preset Category               = Info
Display Category              = <img style="border:0; float:left; margin-right:5px" src="icons/$category.png">$category

{1}ROptions Level             = Notice,Warning,Alert,Fixed
{1}Preset Level               = Warning
{1}Display Level              = <img style="border:0; float:left; margin-right:5px" src="icons/$level.png">$level

when I try to use this featur on a conditional attr it is ignored .. If I remove the {1} it is obviously showed .. but also when no $level is defined (taht is infact not what should be)...



BTW, is it possible to not show conditional attributes in mail and in "single entry" view? .. it's quite strange to ave a "Level" of a "Misure", not a "Problem" Tongue


thank you in advance Smile


Well, that's not the way condition attributes are supposed to work. They were designed to modify the new entry input mask, to have diefferent option lists depending on the value of an attribute. But conditional attributes do not have any meaning for normal display and for email notification. This would have to be implemented and is quite some work. So I would put following in your config:
Options Category              = Info{1},Report{1},Problem{2},Other{1}
Preset Category               = Info
Display Category              = <img style="border:0; float:left; margin-right:5px" src="icons/$category.png">$category

{1}ROptions Level             = Notice,Warning,Alert,Fixed
{1}Preset Level               = Warning
{1}Display Level              = <img style="border:0; float:left; margin-right:5px" src="icons/$level.png">$level
{2}Preset Level               = N/A

Having
N/A
is not as nice as having this attribute not shown at all, but that's the only choice one has right now Crying .

Another thing: you maybe realized that putting <img> in the subject of your orignal entry results in a missing image. That's a nasty side effect of your wish to have any <img> interpreted as HTML. Of course you could argue that <img> is not a real HTML statement because the source is missing, but then another one will come and put there a subject like: "I want an <img src="bla.gif"> in my config" and bang, we are back to the same problem. So if anyone has a clever idea of how to solve this, please let me know. Maybe one should be able to put a "\" in front of any code (also the ELCode tags) to not interprete them by the system. But while this is maybe obvious for a C programmer or shell programmer, the normal user might not find this so obvious.
ELOG V3.1.5-3fb85fa6