Jump to content
Sign in to follow this  
Elvic

Exclude some child categories from related listing detail page widget?

Recommended Posts

Afternoon JReviews, 

 

The guy developing our site has created a new category called "workshops" but it share's the same listing type as "events".  Although workshops isn't a child category of events (but shares the listing type) when a user starts to enter text into the widget field on the listing form all events are offered up rather than just workshops.  I did try using Listing.catid NOT IN (1,2,3etc) to exclude certain categories, but they still show?  Can I exclude categories or does the 'Workshops' category require it's own listing type?

 

Regards

Clive

Share this post


Link to post

The related listing custom field only allows you to limit results by listing type and it is that setting when setting up the field which determines the lookup values. The simplest solution, not requiring you to customize the code, would be to have a separate listing type for workshops.

Share this post


Link to post
Quote

The related listing custom field only allows you to limit results by listing type and it is that setting when setting up the field which determines the lookup values. The simplest solution, not requiring you to customize the code, would be to have a separate listing type for workshops.

Alejandro, is this still the case in JReviews 3?  I would like to create a related listing widget and exclude some categories from being displayed using the customWHERE field.


Thanks

Clive

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.