Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 24

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etrackerŪ Web-Controlling statt Logfile-Analyse
Old 27.10.2004, 13:48   #1 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 15
jakob is on a distinguished road
Default Ordering Display Latest news module

Currently my "Display Latest News" module is ordered by creation date. I am trying to make it order the news by publication date.

I have been trying to modify the module file, specifically changing:

Code:
	. "\n  ORDER BY a.created DESC"
(line 339 or something like that)

to:


Code:
	. "\n  ORDER BY a.publish.up DESC"
But it didn't work. Anyone know how to do this?
jakob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 28.10.2004, 20:17   #2 (permalink)
Senior Mamber
 
vrajesh's Avatar
 
Join Date: Apr 2004
Posts: 181
vrajesh is on a distinguished road
Send a message via Yahoo to vrajesh
Default Re: Ordering Display Latest news module

Hi,

Is this existing module or are you using module from Stingrey's site?

Regards,

Vrajesh
__________________
Think Big
www.PixelThemes.com
Professional Mambo Templates
vrajesh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 29.10.2004, 12:42   #3 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 15
jakob is on a distinguished road
Default Re: Ordering Display Latest news module

I'm using the one from Stingrey's site.
jakob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 29.10.2004, 14:37   #4 (permalink)
Senior Mamber
 
vrajesh's Avatar
 
Join Date: Apr 2004
Posts: 181
vrajesh is on a distinguished road
Send a message via Yahoo to vrajesh
Default Re: Ordering Display Latest news module

PHP Code:
"\n  ORDER BY a.publish.up DESC" 
should be a.publish_up . see the underscore. May be a typo.

Regards,

Vrajesh
__________________
Think Big
www.PixelThemes.com
Professional Mambo Templates
vrajesh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 29.10.2004, 20:59   #5 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 15
jakob is on a distinguished road
Default Re: Ordering Display Latest news module

And there is was - right in front of me

Thank you
jakob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 03.04.2006, 02:14   #6 (permalink)
Baby Mamber
 
Join Date: Apr 2006
Posts: 1
lordprodigy is on a distinguished road
Default Re: Ordering Display Latest news module

hello, I am trying to order them by creation date but inversely. the newest one comes last, the oldest one comes first. how can I do that? thanks.
lordprodigy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mod display news latest donīt work correctly laura Module 'How Do I' Questions 2 02.09.2005 02:33
Display News Latest could work with Content Link if... nascent Mambo 4.5 General Talk 2 23.09.2004 13:46
Latest news module weavers Mambo 4.5 General Talk 2 25.06.2004 10:10
Latest news 1-2 module properties mambomaster Module 'How Do I' Questions 5 10.06.2004 20:59
Latest News Extended 1-1 Module -> Setting Parameters bjoern Module 'How Do I' Questions 4 28.04.2004 16:26


All times are GMT +2. The time now is 06:06.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.