Page 1 of 1
Shows only ID, but I need to show the "Most viewed images in
Posted: 03 Jan 2011, 08:25
by areviklu
Good afternoon, tell me please how to solve the problem: sorting pictures within a category, the «ID» and "ascending" in the module mod_phocagallery_image, gives the same result. Shows only ID, but I need to show the "Most viewed images in this category. How to fix?
Re: Shows only ID, but I need to show the "Most viewed image
Posted: 03 Jan 2011, 23:35
by Jan
Hi, in the module, there is no option to select the most viewed images. The sql query in this module needs to be customized, so the ordering by hits will be set there.
Jan
Re: Shows only ID, but I need to show the "Most viewed image
Posted: 04 Jan 2011, 10:05
by areviklu
Thank you Jan. In some of the queries we need to write the parameter «hits»?
Re: Shows only ID, but I need to show the "Most viewed image
Posted: 05 Jan 2011, 15:07
by Jan
yes - order by hits.
Jan