Disable phoca search for some categories

Phoca Gallery plugins - plugins for Phoca Gallery extension
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

Re: Disable phoca search for some categories

Post by sapo »

at line 242

Code: Select all

$query->where('('.$where.')' . ' AND  a.published = 1 AND a.approved = 1 AND c.id IN(3,4,6,33) AND c.published = 1 AND c.approved = 1 AND  c.access IN ('.$groups.')');
			//$query->group('a.id');
			$query->order($order);
Thanks to the Universal AJAX Live Search Support!!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Disable phoca search for some categories

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply