| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Closed Join Date: Jan 2008
Posts: 14
![]() | DomainSellerPro - Home Page Category Box sorting This is for RJ: I have a 2x2 Category Box matrix on the home page of my DSP. I can't figure out how to control/specify the default sorting within the 4 Category Boxes on the Home Page. 1 - What lines of code in which files control the default sorting order? 2 - I would VERY much like to be able to specify/control the sorting within each individual Category Box differently. Can DSP be made to do this? If so, what lines of code in which files control the sorting order for each Category Box individually? Thanks! Steve |
| |
| | #2 (permalink) |
| Positive Hacker Join Date: Jun 2007 Location: In your PC eating your cookies //3
Posts: 195
![]() ![]() ![]() ![]() ![]() ![]() | Providing a code sample would help. Not all users are familiar with the script, although they may have the knowledge required to assist you with this issue.
__________________ New blog launched! - MattPress.com Have you tried a Virtual Remote Desktop yet? EvenOverHere.com |
| |
| | THREAD STARTER #3 (permalink) | ||||
| Account Closed Join Date: Jan 2008
Posts: 14
![]() |
| ||||
| |
| | #4 (permalink) |
| NamePros Webmaster ![]() ![]() ![]() Join Date: Feb 2003
Posts: 12,930
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I believe what you're looking for is in the functions_inc.php file, in the display_sample() function. Specifically, this part of the mysql query string: Code: ORDER BY rand() RJ |
| |