ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2174
|
Wed Mar 21 16:51:14 2007 |
| deletoille | xavier.deletoille@synchrotron-soleil.fr | Question | Linux | Windows | 6.4-1802 | Re: sort attributs |
Stefan Ritt wrote: |
deletoille wrote: |
For 1 event, I need the date and the hour of this one. An event can be enter in elog several days after this one. The problem is that I do not manage to carry out one sorts on these two attibuts. I tested the order “? rsort” but this one works only on one entry not out of 2 at the same time (? rsort=Heure+evenement, Date+evenement&mode=threaded)
have an easy way? |
Yepp. Since you can only sort on a single attribute, you combine time and date into one. This can be done like following:
Attributes = Icone, Type def fiche, ..., Evenement
Type Evenement = datetime
Now you can not only sort on Evenement, but you get also a date picker for that attribute in the entry form. To format the way Evenement is displayed, use the Time format option. |
thanks, It works but the order "?sort" seems to works only in summary view (attachment 1) and not in threaded (attachement 2) view.
Any idea? |
Attachment 1: summary.JPG
|
|
Attachment 2: threaded.JPG
|
|
2217
|
Wed Apr 25 20:29:39 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | Windows | 6.4-1802 | Re: sort attributs |
deletoille wrote: | thanks, It works but the order "?sort" seems to works only in summary view (attachment 1) and not in threaded (attachement 2) view.
Any idea? |
Two ideas. First, you have following URL:
.../page?rsort=Date+Evenement
but your attribute is "Evenement" (without "Date"). Can you check that?
Second: In threaded mode, only the "thread heads" are sorted. If an entry has one or more replies, it does not make sense to tear apart these replies because of sorting, so threads are always kept together, independent of their attributes. |
Attachment 1: threaded.gif
|
|
Attachment 2: summary.gif
|
|
1658
|
Mon Feb 6 17:15:11 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Other | 2.6.1 | Re: sort after find |
Willem Koster wrote: | Obviously I would like to be able to sort the result of a find-query. |
That worked some time ago, but did not work currently. So I fixed that in the current SVN version. |
1403
|
Thu Sep 1 18:26:38 2005 |
| ralphb | elog@spampot.com | Comment | | | Re: something for the wishlist: 'Recent Changes' |
Heiko Scheit wrote: | A 'Recent Changes'-link (option) that lists entries that were changed
recently, where 'recent' can be changed from 1,2,3...(some maximum)
days. |
Two possible solutions:
1. Use ELOG's RSS support (look for "RSS Title" in the config syntax help). I added an RSS icon to each entry with "Bottom Text=<a href="http://myserver:8080/mylogbook/elog.rdf"><img border=0 height="14" width="36" src="/Rssicon_3614.gif" alt="[RSS]"></a>
2. Add a new attribute "Revised" and config it as follows: "Locked attributes = Revised" and "Subst on Edit Revised = $date". It'll get updated each time the entry gets updated. Then all you just need to create a link to "http://yourserver:8080/yourlogbook/page?mode=summary&rsort=Revised"
Best regards, Ralph. |
750
|
Fri Oct 29 20:14:17 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 2.5.4-6 | Re: some things for your wishlist |
> 1) elogd should report quota or disk-full problem: In case a logbook
> entry cannot be saved (quota or disk full) then a message like
> 'Could not save last entry. Please contact administrator.' should
> be displayed. Currently nothing happens. Only the submitted
> entries 'vanish'.
That has been fixed in meantime.
> 4) mark messages as unread/read on a per user basis: The
> implementation of this might be quite involved but it would be
> rather useful. One way would be to add a default attribute 'Seen
> by' to each entry, which lists the login names of the users. Or
> files LOGIN_NAME.has_seen can be created which contain the entry
> IDs of the viewed entries for each user.
There is an elegant way to achieve this already now: Use an RSS reader (like
SharpReader for Windows or Straw from Linux) and subscribe to a logbook. Then don't
read the entries directly in the logbook, but read them in your RSS reader. Once you
read them, they become automatically marked read.
> 5) alignment of attribute table (using <td colspan=2> for multi line
> stuff): see elog:669 :)
Has been fixed as well.
> - Use "and" and "or" operands in queries
Elog supports now regular expressions. So for a "<str1> OR <str2>" one can write
<str1>|<str2>
and for a "<str1> AND <str2>" one can write
<str1>.*<str2>|<str2>.*<str1>
Looks a bit complicated, but maybe some day we will get some code which rewrites
"AND" and "OR" as regular expressions. |
755
|
Sun Oct 31 20:09:31 2004 |
| Heiko Scheit | h.scheit@mpi-hd.mpg.de | Request | All | 2.5.4-6 | Re: some things for your wishlist |
> > - Use "and" and "or" operands in queries
>
> Elog supports now regular expressions. So for a "<str1> OR <str2>" one can write
>
> <str1>|<str2>
>
> and for a "<str1> AND <str2>" one can write
>
> <str1>.*<str2>|<str2>.*<str1>
>
> Looks a bit complicated, but maybe some day we will get some code which rewrites
> "AND" and "OR" as regular expressions.
It seems that the quick filter searches are now (2.5.4-6) case sensitive.
Could you add an option to specify this in the config file? Or does it
exist already? |
67499
|
Fri May 10 17:24:55 2013 |
| Garret Delaronde | garret.delaronde@gmail.com | Question | Linux | 2.9.2 | Re: some menu commands formed with broken links |
> On many of my logbooks when I specify the menu commands to appear i will get one, usually 'List', which has a
> link not back to the logbook itself but to the root of the elog web server i.e. http:/hostname.domain:8080
> But nothing will respond without the logbook name after the port number. This also seems to be happening to the
> "back" submit button. I can't seem to figure out how to address it. Suggestions?
Can you show us your config? I had this issue when i was initially trying to integrate elog with apache. |
67501
|
Fri May 10 19:26:50 2013 |
| Ken Ludington | kludingt@gmail.com | Question | Linux | 2.9.2 | Re: some menu commands formed with broken links |
Here's the global section and the logbook section for one of the logbooks affected. Of note, the 'demo' logbook works
fine and does not have this issue.
[global]
port = 8080
SMTP host = localhost
Welcome title = Welcome
Top group 2012 = 2011, 2010, 2009, 2008, 2007, WINTER
[WINTER]
;*****Look and Feel*****
Page title = Winter Weather
List page title = Winter Weather
Edit page title = Winter Weather
Theme = default
CSS = default.css
Comment = Winter Weather
Title image =
;*****Email*****
Use Email From = me@me.com
Suppress Email to users = 1
Display Email recipients = 0
Email Encoding = 4
Suppress Email on edit = 1
;*****Settings*****
Entries per page = 30
;Reverse sort = 1
Expand default = 2
Display mode = SUMMARY
Mode command = 0
Time format = %d%B%Y-%H:%M
Summary lines = 15
Show top groups = 0
Message height = 8
Message width = 38
Default encoding = 1
Mode commands = 0
Suppress default = 2
Resubmit default = 2
Back to main = 1
RSS Title = $entry time - $Event
;*****MENU*****
List Menu commands = New, Find
Menu commands = List, New, Edit, Find, Reply, Delete |