ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1222
|
Mon Jul 4 12:16:13 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Bug report | All | 2.6.0beta2 | Re: [BUG] show only new entries |
Emiliano Gabrielli wrote: |
Stefan Ritt wrote: |
I added a "Show all entries" link to go back.
|
I think you only committed the changes to elcode.js but not the ones relative to elogd.c ... the Attribute quick filter is now empty, and no "show all entries" is ever displayed |
Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries" |
1223
|
Mon Jul 4 18:46:25 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Bug report | All | cvs | [BUG] attach=1 and inline imgs |
There is a little difference in the way elog treats attachment's display in list and single message view...
It has to be, but some beaviours can be seen as bugs:
- this is a real bug (see attachment).. if a file is referred inside the text (as shown in elcode docs) it is correctly not shown when in single message view, but it remains visible both inline and as attachment in the full list view
- it would be nice for the user having, as in the single message view, the possibility of show or hide a single or all the attachements of a single message ..
|
1225
|
Tue Jul 5 11:32:34 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Bug report | All | 2.6.0beta2 | Re: [BUG] show only new entries |
Stefan Ritt wrote: |
Emiliano Gabrielli wrote: | Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries" |
I tried to fix this in the current CVS. Can you give it a try? |
the following patch has to be applied over the one of you to complete it 
diff -u -r1.691 elogd.c
--- src/elogd.c 4 Jul 2005 21:12:58 -0000 1.691
+++ src/elogd.c 5 Jul 2005 09:29:57 -0000
@@ -16728,7 +16728,7 @@
/*---- apply last login cut ----*/
- if (isparam("new_entries") && isparam("unm"))
+ if (isparam("new_entries") && atoi(getparam("new_entries")) == 1 && isparam("unm"))
get_user_line(lbs, getparam("unm"), NULL, NULL, NULL, NULL, <ime_start);
/*---- assemble message list ----*/ |
1242
|
Fri Jul 8 10:52:36 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Bug report | All | 2.6beta2 | Subst on Reply |
the "subst on reply" parameter seems to correctly work only on the first reply..
since the second reply has the author locked to the one having replyed the first time.
Here is my config:
; preset author and email
Preset Author = $short_name
Preset Author Email = $user_email
Subst on reply Author = $short_name
Subst on reply Author Email = $user_email
Subst on reply subject = Re: $subject
; these attributes cannot be changed
Locked Attributes = Author, Author Email
Fixed Attributes Reply = Subject
My poor man solution is for now to allow everyone to change the author (unlock the field ..) |
1244
|
Fri Jul 8 19:08:30 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Request | All | | <img> in Display Attribute |
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 |
1249
|
Sat Jul 9 14:13:10 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Bug report | All | 2.6beta2 | Re: Subst on Reply |
Stefan Ritt wrote: |
You need Preset on reply Author = $short_name . Subst is supposed to work after a submission, Preset before you open the edit mask. See this forum. If you reply to this entry, your name appears as the Author even if it's locked. Here is the config:
Preset Author = $long_name
Preset Author Email = $user_email
Preset on reply Author = $long_name
Preset on reply Author Email = $user_email
Locked Attributes = Author
The Subst can be used for your image category thing. So instead using
Display Category = $category <img src="icons/$category.png" border="0">
you can use
Subst Category = $category <img src="icons/$category.png" border="0">
which physically rewrites the category. This is probably not what you want, but take it as an example. We use it in one place to replace a user name by a link to our internal telephonbook searching for this username, so if one clicks on the user, one ends up in the user's telephonebook entry. |
Ok it's working perfectly, my bad Iwas lost in the huge set of config parameters elog accept the first time I installed it 
Thank you so much Stefan |
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  |
1251
|
Sat Jul 9 17:21:51 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Request | All | | 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 
thanx againg Stefan |