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

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

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 'How Do I' Questions

 
 
LinkBack Thread Tools Display Modes
Old 07.04.2004, 22:52   #1 (permalink)
Senior Mamber
 
doom4's Avatar
 
Join Date: Apr 2004
Location: Gelsenkirchen / Germany
Posts: 152
doom4 is on a distinguished road
RedCross Content -> Ordering: New items default to the last place

At first sry my english is very bad. And sry a pasted it twice but in the wrong categorie. But this should the right one.

So i ve a content fild in my mambo server. And if i add a new item its ordered at the end oft the list by default. But i want it added to the first place. I hope u understand what i mean .

Thx doom4
doom4 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 08.04.2004, 17:58   #2 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 83
mambomango is on a distinguished road
Default How do I reverse the order of a content blog section?

I have a content blog section on my site - http://www.birminghamwords.co.uk and I want to reverse the order so the most recent is at the top and the oldest is at the bottom. I need to hack away at something or other, perhaps content.html.php??? But what changes do I need to make? I've done it before, but forgotten how, and now I've updated my core files, I have lost the changes.

Thanks !!!

Will
http://www.birminghamwords.co.uk
mambomango is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 21:31   #3 (permalink)
Senior Mamber
 
novocaine's Avatar
 
Join Date: Apr 2004
Location: Hamburg/Germany
Posts: 241
novocaine is on a distinguished road
Default Re: How do I reverse the order of a content blog section?

Quote:
Originally Posted by mambomango
perhaps content.html.php???
Almost

It's content.php -> round line 250 you'll find this code:

Code:
 . "\nORDER BY a.sectionid, a.catid, a.ordering ASC"
simply change this to:

Code:
 . "\nORDER BY a.sectionid, a.catid, a.ordering DESC"
cheers,
novocaine
__________________
Visit ThinkMambo - home of TMEdit and XHTMLSuite
WYSIWYG editors for Mambo Open Source
novocaine is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 14:01   #4 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 3
Chris is on a distinguished road
Question ... change the standard ordering in a content section

I would like to have to newest posts first in some content sections (news section for example).
By the fact i'm a lazy *** I would like the post to be sorted automatically by date descending.
Anyone got some help?

Tkx in advance.
Regards
Chris
Chris is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 14:37   #5 (permalink)
Senior Mamber
 
SvenErik's Avatar
 
Join Date: Apr 2004
Location: Mo i Rana, Norway (66°19'N 14°09'E)
Posts: 214
SvenErik is on a distinguished road
Default Re: ... change the standard ordering in a content section

http://forum.mamboserver.com/viewtopic.php?t=11746
__________________
"Every demand is a prison, and wisdom is only free when it asks nothing."
Sir Bertrand Russell
SvenErik is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 16:23   #6 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 83
mambomango is on a distinguished road
Default Re: How do I reverse the order of a content blog section?

Aha! Nice to know I was in the right general area. Thanks for the tip. Now everything is working perfectly.

Best wishes,


Will
mambomango is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 16:42   #7 (permalink)
Professional Mamber
 
stingrey's Avatar
 
Join Date: Apr 2004
Location: Marikina, Manila, Philippines
Posts: 776
stingrey is on a distinguished road
Exclamation Threads Merged!

Threads Merged


If your reading this thread and wondering why posts do not have the same titles this is because this thread has had two other threads merged into it.



- Moderator -
__________________
Joomla! Core Team Member
Software Coding & Design - Stability Team Leader
www.joomla.org
Former Mambo Core Team Member
stingrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 26.05.2004, 12:05   #8 (permalink)
Baby Mamber
 
Join Date: May 2004
Posts: 1
hotstreak is on a distinguished road
Question Re: Content -> Ordering: New items default to the last place

this hasnt worked for my site

the posts are still in chronological order

i want the last posts to be last on the page so the newest news items are at the top.

can anyone suggest what Im doing wrong or something else to try?

moving the articles manually does absolutely nothing
hotstreak 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
Content -> Ordering: New items default to the last place doom4 Mambo 4.5 Installation and Upgrades 5 08.04.2004 00:31


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

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.