Question
Hello,
I would like to have a self-managed "What's new" section in my WebHome page. I tried several things with but nothing seems to work. Didn't find anything useful in the
AnsweredQuestions. I just want to list the topics which are flaged "NEW" on the WebIndex topic and format them in a table with user, topic and summary.
Currently I'm using this syntax :
%SEARCH{ "\.*" scope="topic" regex="on" nosearch="on" nototal="on"
order="modified" reverse="on" header="| *New* | *Who* | *Last update* |"
format="| [[$topic]] | $wikiusername | $date |" limit="15" }%
This is the result, but I would prefer listing only new topics whithout having to limit the search to a fixed number.
Thanks in advance,
Seb.
- TWiki version: 20011201
- Perl version: 5.6.0
- Web server & version: Apache 1.3.27
- Server OS: solaris 7
- Web browser & version: netscape 7
- Client OS: solaris 7 / win2k-xp
--
TWikiGuest - 09 Jul 2003
Answer
To show only v1.1 topics do this:
%SEARCH{ "META:TOPICINFO.*version=\"1.1\"" regex="on" nosearch="on" nototal="on"
order="modified" reverse="on" header="| *New* | *Who* | *Last update* |"
format="| [[$topic]] | $wikiusername | $date |" limit="15" }%
e.g. this:
--
PeterThoeny - 12 Jul 2003
Thank you very much, that's exactly what I wanted.
--
TWikiGuest - 16 Jul 2003
The search described here may not work for users running Windows/Cygwin. If that's the case, try the following search instead:
%SEARCH{ "META:TOPICINFO.*version=.1\.1[^0-9]" regex="on" nosearch="on" nototal="on"
order="modified" reverse="on" header="| *Topic* | *Created By* | *Created On* |"
format="| [[$topic]] | $wikiusername | $date |" limit="15" }%
See
NewTopicsListNotWorking for more details on this issue.
--
JasonVensel - 21 Apr 2006