| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| New Member | 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 | 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 |
| |
| | #3 (permalink) | |
| New Member | Quote:
| |
| |
| | #4 (permalink) |
| NamePros Founder Administrator | 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 |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |