ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67016
|
Wed Feb 9 13:04:56 2011 |
| Behdad D | behdad@inbox.com | Question | Windows | latest | Re: Edit Mode - Icons |
Stefan Ritt wrote: |
Behdad D wrote: |
Stefan Ritt wrote: |
Behdad D wrote: |
Hi all,
Is there a way to add more icons to the currently available icons when you are in the edit mode. For example instead of having this icon if I want to add a different icon that is not in the list.
The reason I ask is that I want for example to have an icon of a bug(for software bugs) or something different.
I looked in the elog's installation directory and I could find all of the available icons but couldn't see any place where I could modify the installation to allow me access to the extra icons.
Thanks in advance.
Behdad.
|
You need to do two things:
1) Add you new icon to <elog directory>\themes\default\icons
2) Refer to your new icon in the config file like
IOptions Icon = icon1.gif, icon2.gif, new_icon.gif
|
Thank you for the reply but I think you misunderstood me. I am not after icons for the attributes. I am after icons that I can insert it into my records text like this one.... . So I just like to customize my icons in the "Insert Smiley" list.
Is this possible?
Thank you.
|
Ah, ok. Now I understand. This is however deep inside the fckeditor and I have no idea how to change it. Maybe you can get some help from the fckeditor community? All I found is the directory
<elog>/scripts/fckeditor/editor/image/smiley/msn
which contains some smileys. Maybe you can edit those?
|
Oh, thanks Stefan. I will try find out, if I do I will post here later on.
Thank you. |
67015
|
Wed Feb 9 09:03:25 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | latest | Re: Edit Mode - Icons |
Behdad D wrote: |
Stefan Ritt wrote: |
Behdad D wrote: |
Hi all,
Is there a way to add more icons to the currently available icons when you are in the edit mode. For example instead of having this icon if I want to add a different icon that is not in the list.
The reason I ask is that I want for example to have an icon of a bug(for software bugs) or something different.
I looked in the elog's installation directory and I could find all of the available icons but couldn't see any place where I could modify the installation to allow me access to the extra icons.
Thanks in advance.
Behdad.
|
You need to do two things:
1) Add you new icon to <elog directory>\themes\default\icons
2) Refer to your new icon in the config file like
IOptions Icon = icon1.gif, icon2.gif, new_icon.gif
|
Thank you for the reply but I think you misunderstood me. I am not after icons for the attributes. I am after icons that I can insert it into my records text like this one.... . So I just like to customize my icons in the "Insert Smiley" list.
Is this possible?
Thank you.
|
Ah, ok. Now I understand. This is however deep inside the fckeditor and I have no idea how to change it. Maybe you can get some help from the fckeditor community? All I found is the directory
<elog>/scripts/fckeditor/editor/image/smiley/msn
which contains some smileys. Maybe you can edit those? |
67014
|
Wed Feb 9 08:59:40 2011 |
| Behdad D | behdad@inbox.com | Question | Windows | latest | Re: Edit Mode - Icons |
Stefan Ritt wrote: |
Behdad D wrote: |
Hi all,
Is there a way to add more icons to the currently available icons when you are in the edit mode. For example instead of having this icon if I want to add a different icon that is not in the list.
The reason I ask is that I want for example to have an icon of a bug(for software bugs) or something different.
I looked in the elog's installation directory and I could find all of the available icons but couldn't see any place where I could modify the installation to allow me access to the extra icons.
Thanks in advance.
Behdad.
|
You need to do two things:
1) Add you new icon to <elog directory>\themes\default\icons
2) Refer to your new icon in the config file like
IOptions Icon = icon1.gif, icon2.gif, new_icon.gif
|
Thank you for the reply but I think you misunderstood me. I am not after icons for the attributes. I am after icons that I can insert it into my records text like this one.... . So I just like to customize my icons in the "Insert Smiley" list.
Is this possible?
Thank you. |
67013
|
Mon Feb 7 17:26:26 2011 |
| T. Ribbrock | emgaron+elog@ribbrock.org | Bug report | Other | 2.9.0-2384 | Re: Odd bug with conditional and required attributes |
Stefan Ritt wrote: |
Your problem is the "?" in the attribute Public?. Attributes may only contain ordinary characters. Unfortunately I did not document this so far. Therefore I put some fix in SVN revision 2387 which allows your attribute Public?, but I'm not 100% sure if this works in all places. The safest is just to remove the question mark.
|
Thanks Stefan, I'll try that. It's strange, though: At work, we're running 2.7.6 (and have used older versions in the past) and we have several logbooks with each at least one or two attributes with '?' and never had a problem with conditionals. Hence my surprise when this suddenly hit me with 2.8.1+ at home. Removing the '?' would be quite some work, as I'd have to change all logbooks and the associated data (the latter could probably be done with "rpl", I hope). I'll think about it. |
67012
|
Mon Feb 7 16:44:54 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2350 | Re: Fckedit and quotation style sheets |
Robert Heine wrote: |
Dear colleagues,
I have edited my own style sheets for elog, but if I use the reply function while having fckedit as editor, the quotations have the standard elog colors, not mine. With elog's own editor, I get my colors. I figured out that fckedit inserts the quote as HTML-block with "hard coded" colors, but I am not able to find the template fckedit uses for it! Does anyone know the path to this template?
Thank you in advance
Robert Heine
|
That's actually a limitation of fckedit. It simply does not interprete any style sheets, that's why actually the elogd program hard-wires the colors etc. Sorry for that. |
67011
|
Mon Feb 7 15:14:36 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Other | 2.9.0-2384 | Re: Odd bug with conditional and required attributes |
T. Ribbrock wrote: |
I just ran into an odd bug with conditional attributes: If I add a certain attribute to "Required Attributes", none of the conditionals will work anymore. I have tried to create a small logbook definition that will demonstrate the problem (the original logbook is more complex and uses two sets of conditionals, both of which will be disabled when the bug hits):
; General settings
Menu commands = List, New, Edit, Duplicate, Delete, Reply, Select, Move to, Download, Find, Logout, Help, Config,Admin
List Menu commands = New, Select, Find, Logout, Help, Config, Admin, Import, Download
Date Format = %d/%m/%Y
List conditions = 1
List display = Edit, Type, Created, StatusA, StatusB, Archived, Test Text, Public?
; Attributes
Attributes = Type, Created, StatusA, StatusB, Archived, Test Text, Public?
Required Attributes = Type
; Attribute Types
Type Created = date
Type Archived = date
; Options & Tooltips
Options Type = Type1{0}, Type2{1}
Options StatusA = Status-A-red, Status-A-orange, Status-A
Options StatusB = Status-B-red, Status-B-orange, Status-B
Options Public? = yes,no
; Conditionals
{0}Show Attributes Edit = Type, Created, StatusA, StatusB, Archived, Test Text, Public?
{1}Show Attributes Edit = Type, Created, StatusA, Archived, Test Text, Public?
The above logbook definition works. However, if I replace the Required Attributes = Type with Required Attributes = Type, Public?, the conditionals will no longer work. I can see the difference in the reactions of the browser - with the extra attribute, nothing happens when I change "Type". Without, the browser will spring into action and reload as soon as I change "Type". I've tested this with both Firefox 3.6.13 and Konqueror 4.4.5 on Kubuntu 10.04 as clients. Fortunately, this is not a showstopper for me, as it is not mandatory to have this attribute defined as required, but I find it a weird issue nonetheless.
Cheerio,
Thomas
P.S.: I'm currently running the latest SVN version of elogd on OPenBSD as I ran into the same problem as described in Message 66984. The above problem also happens with the 2.8.1 I was using before. Some feedback: The SVN version compiled and ran without any further intervention on OpenBSD - very nice!
|
Your problem is the "?" in the attribute Public?. Attributes may only contain ordinary characters. Unfortunately I did not document this so far. Therefore I put some fix in SVN revision 2387 which allows your attribute Public?, but I'm not 100% sure if this works in all places. The safest is just to remove the question mark. |
67010
|
Mon Feb 7 08:46:23 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | latest | Re: Edit Mode - Icons |
Behdad D wrote: |
Hi all,
Is there a way to add more icons to the currently available icons when you are in the edit mode. For example instead of having this icon if I want to add a different icon that is not in the list.
The reason I ask is that I want for example to have an icon of a bug(for software bugs) or something different.
I looked in the elog's installation directory and I could find all of the available icons but couldn't see any place where I could modify the installation to allow me access to the extra icons.
Thanks in advance.
Behdad.
|
You need to do two things:
1) Add you new icon to <elog directory>\themes\default\icons
2) Refer to your new icon in the config file like
IOptions Icon = icon1.gif, icon2.gif, new_icon.gif
|
67009
|
Fri Feb 4 23:48:54 2011 |
| T. Ribbrock | emgaron+elog@ribbrock.org | Bug report | Other | 2.9.0-2384 | Odd bug with conditional and required attributes | I just ran into an odd bug with conditional attributes: If I add a certain attribute to "Required Attributes", none of the conditionals will work anymore. I have tried to create a small logbook definition that will demonstrate the problem (the original logbook is more complex and uses two sets of conditionals, both of which will be disabled when the bug hits):
; General settings
Menu commands = List, New, Edit, Duplicate, Delete, Reply, Select, Move to, Download, Find, Logout, Help, Config,Admin
List Menu commands = New, Select, Find, Logout, Help, Config, Admin, Import, Download
Date Format = %d/%m/%Y
List conditions = 1
List display = Edit, Type, Created, StatusA, StatusB, Archived, Test Text, Public?
; Attributes
Attributes = Type, Created, StatusA, StatusB, Archived, Test Text, Public?
Required Attributes = Type
; Attribute Types
Type Created = date
Type Archived = date
; Options & Tooltips
Options Type = Type1{0}, Type2{1}
Options StatusA = Status-A-red, Status-A-orange, Status-A
Options StatusB = Status-B-red, Status-B-orange, Status-B
Options Public? = yes,no
; Conditionals
{0}Show Attributes Edit = Type, Created, StatusA, StatusB, Archived, Test Text, Public?
{1}Show Attributes Edit = Type, Created, StatusA, Archived, Test Text, Public?
The above logbook definition works. However, if I replace the Required Attributes = Type with Required Attributes = Type, Public?, the conditionals will no longer work. I can see the difference in the reactions of the browser - with the extra attribute, nothing happens when I change "Type". Without, the browser will spring into action and reload as soon as I change "Type". I've tested this with both Firefox 3.6.13 and Konqueror 4.4.5 on Kubuntu 10.04 as clients. Fortunately, this is not a showstopper for me, as it is not mandatory to have this attribute defined as required, but I find it a weird issue nonetheless.
Cheerio,
Thomas
P.S.: I'm currently running the latest SVN version of elogd on OPenBSD as I ran into the same problem as described in Message 66984. The above problem also happens with the 2.8.1 I was using before. Some feedback: The SVN version compiled and ran without any further intervention on OpenBSD - very nice! |
|