Home arrow Forum
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





Lost Password?
No account yet? Register
Stay Tuned!
 
Who's Online
We have 4 guests and 4 members online

powered_by Joomla
Duplicate entry \'0\' for key 1 SQL=INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`) \n VALUES (\'0\', \'1223334815\', \'Re:ORDER BY display\',\'\',\'\',\'view\',\'/index.php?option=com_fireboard&Itemid=42&func=view&catid=9&id=5884\', \'38.103.63.59\', \'0\')
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:ORDER BY display (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:ORDER BY display
#3500
looch (User)
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
ORDER BY display 1 Year, 5 Months ago Karma: 1  
I am trying to change the default order by which the properties are displayed: instead of ASCENDING change the order to DESCENDING.
I've been looking through all files but I could not find a solution to this ordering problem.
Please post a fix so that the latest added properties will show first instead of last....
Thank you
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3511
nunomsh (User)
Moderator
Posts: 160
graphgraph
User Offline Click here to see the profile of this user
Re:ORDER BY display 1 Year, 4 Months ago Karma: 6  
if you look in estateagent.php and in your editor look from ASC or DESC.
The code for the sql is ASC for Ascending and DESC for descending
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5604
kibuk (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:ORDER BY display 6 Months, 2 Weeks ago Karma: 0  
I changed in estateagent.php
row 945 and 275 ASC - DESC. It is ok now. I have first descending.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5884
0zz1 (User)
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
Re:ORDER BY display 4 Months, 1 Week ago Karma: 1  
kibuk wrote:
QUOTE:
I changed in estateagent.php
row 945 and 275 ASC - DESC. It is ok now. I have first descending.


so did you actually get this work?? I did the same and what it did for me It changed the order of the categories not the order of the objects inside categories.

Please anyone?

edit... i got this working now... I changed this: at line 402... estateagent.php... nothing else...

$direction = mosGetParam( $_POST, 'direction', mosGetParam( $_REQUEST, 'direction', 'DESC' ) );
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/06/02 17:24 By 0zz1.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop