Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 765 of 796  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  1295   Thu Jul 21 12:54:32 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itRequestAll Re: <img> in Display Attribute

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
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


I added the conditional attributes for the "single entry" view (not the mail yet), so you might again try it.

uhm... it appears a bit strange now..

In the single list:
- only "Author" and "subject" is displayed (text too of course) Crying
- if one edits the entry all fields ar correctly displayed
In full list mode:
- nothing changed, no conditional display is working Crying

revision 1.707 works correctly instead
  1301   Fri Jul 22 23:14:23 2005 Reply Stefan Rittstefan.ritt@psi.chRequestAll Re: <img> in Display Attribute

Emiliano Gabrielli wrote:
- only "Author" and "subject" is displayed (text too of course) Crying


That was a bug. I fixed it in CVS.


Emiliano Gabrielli wrote:
In full list mode:
- nothing changed, no conditional display is working Crying


What do you want? In full mode you have a multi-column display of attributes. If you display a different number of attributes for each entry, the table gets screwed up and becomes very hard to read.

BTW: Conditional attributes now also work for email notifications, so you can do for example:
Attributes = Author, Category, Email encoding, Subject
Options Email encoding = plain{1}, HTML{2}
{1} Email encoding = 1
{2} Email encoding = 2
  1302   Sat Jul 23 15:46:06 2005 Reply Stefan Rittstefan.ritt@psi.chCommentAll Re: A new ELOG user wants to register on "127.0.0.1"
Ok, I kind of misunderstood the "-n" parameter. It is the interface to listen to, which is not necessarily the host name as seen from outside. I changed that in the following way:

  • if the URL option is present, the host name is taken from there
  • if the URL option is not present, elog calls gethostname()/gethostbyname() to retrieve the local host name

the host name which comes from these two possibilities is used internally in all cases where it's needed, like email notifications.
  1303   Sat Jul 23 16:16:10 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itRequestAll Re: <img> in Display Attribute

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
- only "Author" and "subject" is displayed (text too of course) Crying


That was a bug. I fixed it in CVS.


Emiliano Gabrielli wrote:
In full list mode:
- nothing changed, no conditional display is working Crying


What do you want? In full mode you have a multi-column display of attributes. If you display a different number of attributes for each entry, the table gets screwed up and becomes very hard to read.

BTW: Conditional attributes now also work for email notifications, so you can do for example:
Attributes = Author, Category, Email encoding, Subject
Options Email encoding = plain{1}, HTML{2}
{1} Email encoding = 1
{2} Email encoding = 2


I don't want to change the number of columns along different rows .. of course Smile
I'd like to be able to do what I explained in elog:1289 ...

not to display or not an attribute, but to be able to choose among different display of an attribute basing the choice on the value of an other attribute

look at my previous post .. I'm trieng to display an icon in the "category" attribute showing the "level" of the "problem", beeing "problem" one of the possible values of the attribute "category" itself
  1304   Sat Jul 23 16:45:28 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll Re: <img> in Display Attribute

Stefan Ritt wrote:

BTW: Conditional attributes now also work for email notifications, so you can do for example:
Attributes = Author, Category, Email encoding, Subject
Options Email encoding = plain{1}, HTML{2}
{1} Email encoding = 1
{2} Email encoding = 2


if one uses ROptions instead of a simple Options the text displaied is "plain{1}" (with the "{1}" not stripped out!!)
  1305   Sat Jul 23 18:23:57 2005 Reply Stefan Rittstefan.ritt@psi.chRequestAll Re: <img> in Display Attribute

Emiliano Gabrielli wrote:
I'd like to be able to do what I explained in elog:1289 ...


Ok, got it. So I implemented conditional display in the list mode. If that works for you, it was the last wish fulfilled before Christmas! Wink
  1306   Sat Jul 23 18:30:57 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportAll Re: <img> in Display Attribute

Emiliano Gabrielli wrote:
if one uses ROptions instead of a simple Options the text displaied is "plain{1}" (with the "{1}" not stripped out!!)


Ok, fixed.
  1307   Mon Jul 25 10:14:27 2005 Entry Dinesh Bapatdinesh.bapat@gmail.comQuestion  Summary page
Hi,

This might be a stupid question.

But I was unable to fix it. Hence asking for help. I have set config as

List Display = ID, Author, Type, When, Subject

But "Summary" page of my e-log continues to display additional column "Text". Kindly advise how to hide this last column. Also, is it possible to assign % width for each of these columns (ID, Author, Type, When, Subject)

Thank you

Regards

Dinesh
ELOG V3.1.5-2eba886