Last Updated on Monday, 7 May 2012 04:27 Written by Richi González Monday, 14 May 2012 12:00
If you would like to change the order of the results when you search inside Clip-Bucket, keep reading. It’s a very easy task to do, yet very useful.
Difficulty Level: Easy
1. Open search.class.php, located in ./includes/classes/*
2. Let’s say you want to order results by most viewed. Go to line 40, where it says:
var $sort_by = 'date_added';
Change it to:Learn More
Last Updated on Saturday, 26 November 2011 03:10 Written by Goran Ilic Sunday, 26 June 2011 12:00
There are often topics in CMS Made Simple official boards on how short content text could be added to search results from search module.
Well recently I was in need of exactly this function, and here is my solution. Unlike some solutions that require hacking core functions, I always seek for a solution that is not in need of hacking, and in most cases, there is one.