This is an old thread so I just want to check for an update to the 2013 post
Looking at rlListingsBox.class.php 4.9.2 version it looks to me like the by_category option is already built in.
Line 158 in rlListingsBox.class.php reads:
Code:
Only registered members can view the code.
And my recent listing box already has by default extra values from the 2013 post above
getListings( "listings", "recently_added", "10", "0", "0" );
Which I assume corresponds to
type=listings
order=recently added
limit=show 10 listings
unique=(not sure how to use unique)
by_category=(is this category id# or category name?)
I tried both the main category name and the category ID in that final spot, and it's not limiting to category 623.
I got the category ID from doing a get search that shows the category I want
Code:
Only registered members can view the code.
Do I specify by category name or id?
As of 4.9.2, do I still need to do a modification as in the past to make this work, or is this built in already now as it appears to be? Anything else I need to do to create a box that includes listings from one specific category now in 4.9.2?