From lurker-users-bounces@lists.sourceforge.net Tue May 19 21:49:02 2009
Return-path: <lurker-users-bounces@lists.sourceforge.net>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	mail01.freesources.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.8 required=4.0 tests=AWL,BAYES_00,
	RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_HTTP,SPF_HELO_PASS,SPF_PASS autolearn=ham
	version=3.2.5
Envelope-to: jonas@freesources.org
Delivery-date: Tue, 19 May 2009 21:49:02 +0000
Received: from lists.sourceforge.net ([216.34.181.88])
	by mail01.freesources.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <lurker-users-bounces@lists.sourceforge.net>)
	id 1M6XBD-0001a9-Uz
	for jonas@freesources.org; Tue, 19 May 2009 21:49:02 +0000
Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com)
	by 3yr0jf1.ch3.sourceforge.com with esmtp (Exim 4.69)
	(envelope-from <lurker-users-bounces@lists.sourceforge.net>)
	id 1M6XB4-00047R-Vl; Tue, 19 May 2009 21:48:50 +0000
Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.123]
	helo=mx.sourceforge.net)
	by 3yr0jf1.ch3.sourceforge.com with esmtp (Exim 4.69)
	(envelope-from <mangoo@wpkg.org>) id 1M6XB3-00046u-DW
	for lurker-users@lists.sourceforge.net; Tue, 19 May 2009 21:48:49 +0000
Received-SPF: pass (3b2kzd1.ch3.sourceforge.com: domain of wpkg.org designates
	78.111.66.105 as permitted sender) client-ip=78.111.66.105;
	envelope-from=mangoo@wpkg.org; helo=mx03.syneticon.net; 
Received: from mx03.syneticon.net ([78.111.66.105])
	by 3b2kzd1.ch3.sourceforge.com with esmtp (Exim 4.69)
	id 1M6XAr-0001od-Ss
	for lurker-users@lists.sourceforge.net; Tue, 19 May 2009 21:48:44 +0000
Received: from localhost (filter1.syneticon.net [192.168.113.83])
	by mx03.syneticon.net (Postfix) with ESMTP id AA90636153;
	Tue, 19 May 2009 23:48:35 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mx03.syneticon.net
Received: from mx03.syneticon.net ([192.168.113.84])
	by localhost (mx03.syneticon.net [192.168.113.83]) (amavisd-new,
	port 10025)
	with ESMTP id D+43DECiU5m2; Tue, 19 May 2009 23:48:33 +0200 (CEST)
Received: from [192.168.10.145] (koln-4db489cf.pool.einsundeins.de
	[77.180.137.207]) by mx03.syneticon.net (Postfix) with ESMTPSA;
	Tue, 19 May 2009 23:48:33 +0200 (CEST)
Message-ID: <4A132931.5000307@wpkg.org>
Date: Tue, 19 May 2009 23:48:33 +0200
From: Tomasz Chmielewski <mangoo@wpkg.org>
User-Agent: Thunderbird 2.0.0.21 (X11/20090319)
MIME-Version: 1.0
To: "Wesley W. Terpstra" <wesley@terpstra.ca>,
 lurker-users@lists.sourceforge.net
References: <4A0D1584.8030006@wpkg.org>
	<162de7480905190831x4b14d26cx28fa3757f953e0d5@mail.gmail.com>
In-Reply-To: <162de7480905190831x4b14d26cx28fa3757f953e0d5@mail.gmail.com>
X-Headers-End: 1M6XAr-0001od-Ss
X-BeenThere: lurker-users@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Lurker Project Support <lurker-users.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/lurker-users>, 
	<mailto:lurker-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=lurker-users>
List-Post: <mailto:lurker-users@lists.sourceforge.net>
List-Help: <mailto:lurker-users-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/lurker-users>,
	<mailto:lurker-users-request@lists.sourceforge.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: lurker-users-bounces@lists.sourceforge.net
X-SA-Exim-Connect-IP: 216.34.181.88
X-SA-Exim-Mail-From: lurker-users-bounces@lists.sourceforge.net
Subject: Re: [Lurker-users] "view newest messages" / mindex - keep the
 newest messages on top?
X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000)
X-SA-Exim-Scanned: Yes (on mail01.freesources.org)
Status: RO
Content-Length: 1459
Lines: 44

Wesley W. Terpstra schrieb:
> On Fri, May 15, 2009 at 9:11 AM, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
>> On the page where the messages are sorted by date - is it possible to
>> have the most recent message at the top, not the bottom?
> 
> You would need to modify the mindex.xsl file which determines how the
> output html will look. Unfortunately, xslt is practically a
> programming language, so requires some skill to change.


This seems to do the trick - thanks for the tip!


--- mindex.xsl.orig     2009-04-28 22:02:38.000000000 +0000
+++ mindex.xsl  2009-05-19 21:44:53.000000000 +0000
@@ -117,7 +117,10 @@
             <xsl:text>)</xsl:text>
         </th>
        </tr>
-      <xsl:apply-templates mode="message" select="row"/>
+      <xsl:apply-templates mode="message" select="row">
+       <xsl:sort order="descending" />
+      </xsl:apply-templates>
+
       </table>
      </div>
     </div>


-- 
Tomasz Chmielewski
http://wpkg.org

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Lurker-users mailing list
Lurker-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lurker-users


