|
Demo
Discussion
|
Forum
Config Examples
Contributions
Vulnerabilities
|
Discussion forum about ELOG, Page 119 of 806 |
Not logged in |
 |
|
New entries since: | Thu Jan 1 01:00:00 1970 | |
Thanks Stefan! This is an excellent application. |
1245
|
Fri Jul 8 22:18:01 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | | 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 |
Ok, it's implemented in CVS. |
1247
|
Fri Jul 8 22:25:39 2005 |
| Gary Clayson | imppster@gmail.com | Request | Windows | 2.6.0-beta | Re: 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 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Request | All | | 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 |
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" 
thank you in advance  |
1254
|
Mon Jul 11 12:35:40 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.6 and be | Re: icon comment not display using firefox |
Laurent S. Nadolski wrote: | I found out the following bug.
Icon comment are not displayed when browsing with firefox. But it works fine with IE.
A goo test page is this very elog entry.
If you move your mouse on a icon nothing will be displayed using Firefox. |
Thanks for reporting this bug. I fixed it in the current CVS version. You can try it with this page.
Laurent S. Nadolski wrote: | In the following example, I noticed, that the tooltip Icon is displayed instead (whenever existing). This means, it displays info (for all icons if several) and not "showbug" on icon1.gif
Attributes = Icone
IOptions Icone = icon1.gif
Tooltip Icone = info
Icon comment icon1.gif = showbug
|
Icon comment is used for email notification, and Tooltip is used for tooltips. So the behaviour you describe is intentional.
- Stefan |
1256
|
Mon Jul 11 13:13:27 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | | 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" 
thank you in advance  |
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 .
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. |
1257
|
Mon Jul 11 14:30:11 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Request | All | | Re: < img > in Display Attribute |
Stefan Ritt wrote: |
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" 
thank you in advance  |
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 .
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. |
IMHO the solution may be in allowing html code only in the cfg, not in the value of the field..
i.e., elog has to first allow html in the cfg attribute and then replace every $attribute with their values... this values as to be translated in html entities in order to solve the problem
in other wordsthe value of the attribute as to httl_encoded when displayed.. and the cfg line not
or I am loosing some point ? |