Missing functions in Phoca Image Gallery 3.0.0 (J1.6)

Phoca modules - support for all Phoca modules except Phoca Gallery modules
motioncompany
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 11 Feb 2011, 10:57

Missing functions in Phoca Image Gallery 3.0.0 (J1.6)

Post by motioncompany »

It is not possible to choose "random" at the menu item "Image ordering" and there is no menu item "Category ID" where i can choose to display images from all categories,

At the documentation i can find the following lines:
. Image Ordering - set image ordering (Random Image, Latest Image, ...)
. Category ID - select ID of category from where image(s) should be displayed - if empty then images will be displayed from all public or all registered (only for registered users) categories

Any idea?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Missing functions in Phoca Image Gallery 3.0.0 (J1.6)

Post by Jan »

Hi, added into feature request list.

Jan
If you find Phoca extensions useful, please support the project
jant
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Jun 2011, 09:30

Re: Missing functions in Phoca Image Gallery 3.0.0 (J1.6)

Post by jant »

Hi,
Can this request also be noted for the floom module? Or must I use another module to randomize the photo's in the slideshow?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Missing functions in Phoca Image Gallery 3.0.0 (J1.6)

Post by Jan »

Hi, in the module, the sql needs to be customized:

FROM:

Code: Select all

//. ' ORDER BY RAND()'
. ' ORDER BY a.ordering'
TO:

Code: Select all

. ' ORDER BY RAND()'
//. ' ORDER BY a.ordering'
If you find Phoca extensions useful, please support the project
Post Reply