ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2223
|
Fri Apr 27 13:06:59 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | 2.6.3-1764 | Re: Is there (planned) support for <A NAME> and <HR /> in ELCODE? |
Kevin McCarty wrote: | I am wondering if there is any support (or if not, if it is planned) for inserting HTML <a name> and <hr /> tags via ELCODE. This would be useful for long log messages in order to provide a table of contents and divide them into clear sections. If this support already exists, I'm afraid it is not obvious to me how to access it in ELCODE. If it does not yet exist, would you consider a patch for it?
As a related issue, to support <a name> usefully, it will also be necessary for ELCODE to support things like [url=#tag], which it currently converts to <a href = "http:///#tag"> instead the expected result of <a href = "#tag">. |
I implemented anchor tags. You can write something like
[ANCHOR]top[/ANCHOR]
and you can then reference it either by directly entering
http://midas.psi.ch/elogs/Forum/2223#top
or by entering simply
elog:2223#top
To make your table of contents, you can put a complete URL tag like
[URL=http://midas.psi.ch/elogs/Forum/2223#top]Goto top[/URL]
or inside the same entry simply
[URL=#top]Goto top[/URL]
which will be shown as
Goto top
I have added these link again at the bottom of this entry so you can try it with this entry directly.
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
... empty space ...
elog:2223#top |
69232
|
Thu Oct 8 12:40:52 2020 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V3.1.4-a04faf9f | Re: Is it possible to visually group attributes with border |
Nope, this is not possible. Sorry.
Stefan
Daniel Sajdyk wrote: |
Hello,
I'm working on new logbook and in one category I'll have many attributes (many more than in attached screenshot).
So here is my question. Is it possible to visually group such attributes with some border, or something like that?
In screenshot you can see what I want to achieve.
Best Regards
Daniel
|
|
1816
|
Wed May 3 08:31:52 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.1 | Re: Is it possible to require certain attributes for specific users (guests)? |
> First of all, thanks for writing and maintaining eLog.
>
> I've been using it for a few years, but I'm now introducing it in an environment that may have a lot of "Guest"
> accounts.
>
> I'd like to have two "Required Attributes" when a guest enters a new entry; their name and e-mail address. These
> fields don't need to be required for registered accounts, since that information is available already.
>
> Is there any way to have conditional statements act on the value of $short_name?
No, this is not implemented. The only way you have right now is to make two separate logbooks, one for guests and
one for registered users. But I know this is not an optimal solution. I will think about it. |
2063
|
Thu Nov 9 23:04:32 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.1 | Re: Is it possible to require certain attributes for specific users (guests)? |
> First of all, thanks for writing and maintaining eLog.
>
> I've been using it for a few years, but I'm now introducing it in an environment that may have a lot of "Guest"
> accounts.
>
> I'd like to have two "Required Attributes" when a guest enters a new entry; their name and e-mail address. These
> fields don't need to be required for registered accounts, since that information is available already.
>
> Is there any way to have conditional statements act on the value of $short_name?
>
> Thanks,
>
> Mark
Actually there is one possibility:
Preset Author = $long_name
Required Attributes = Author
This will force the author to be supplied. If one is logged in, the login name will be put into the author field. If
there is guest access, the field will contain "anonymous", so hopefully each guest will change that to the real name... |
67821
|
Mon Mar 9 17:24:42 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.9.2 | Re: Is it possible to only send an email based on the value of multiple attributes? |
Darren Hollinrake wrote: | My current setup notifies users if downtime = yes. Email Downtime Yes = user1@xyz.com, user2@xyz.com
Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes |
This is currently not implemented, but it's a good idea. I will keep it in mind for the next release. |
67822
|
Thu Mar 12 09:53:57 2015 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | 2.9.2 | Re: Is it possible to only send an email based on the value of multiple attributes? |
Darren Hollinrake wrote: | My current setup notifies users if downtime = yes. Email Downtime Yes = user1@xyz.com, user2@xyz.com
Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes |
I think there is a solution, although it is complicated and I haven't tested it:
You can have an invisible field that is set based on a calculation from several fields, and use this field for the conditional email notification.
Just to give an idea, something like:
Subst myUser1Note = $shell( if [ $Platform = "Workstation" ] && [ $Downtime = "Yes" ] then echo "notify";else echo "idle";fi)
Email myUser1Note notify = user1@xyz.com
And if you like you make this field invisible by skipping it in:
Show Attributes = ...
and
Show Attributes Edit = ...
Just an idea...
Andreas |
66181
|
Tue Jan 27 16:01:09 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | last one | Re: Is it possible to generate an ID with a particular format ? |
Franck C wrote: |
Hi,
I want to know if it is possible to display an ID with this format: YYYY-XXXX where YYYY is the current year and XXXX a sequential number from 0001 to 9999 ?
ID Display = 2009$message id
could be fine but the year is hard coded and there are no 0 before the number.
Can you help me ?
Thanks a lot 
|
You cannot make this with the ID, but you can create an additional attribute which will show exactly this behavior. Have a look under
subst <attribute> = %Y-####
in the documentation. |
68631
|
Mon Jun 19 08:33:07 2017 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 3.1.3 | Re: Is it possible to generate a table of contents based on h1/h2/h3 HTML tags? |
This is not possible.
Stefan
Niklas Hoglund wrote: |
Is it possible to generate a table of contents based on h1/h2/h3 HTML tags?
Example:
toc()
< h1>test
< h2>test1
< h1>test2
< h2>test3
< h1>test4
< h2>test5
Results in:
1. test
1.1 test1
2. test2
2.1 test3
3. test4
3.1 test5
...the text...
|
|