Support Forums

New_listings plugin

This is a discussion on New_listings plugin within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hi all, Is there any way of setting the new listings plugin to show the new listings BY CATEGORY ? ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 02-25-2010, 11:01 AM   #1
Customer
 
jason1971's Avatar
 
Join Date: Jan 2009
Location: England
Posts: 147
Rep Power: 13
jason1971 is on a distinguished road
Default New_listings plugin

Hi all,

Is there any way of setting the new listings plugin to show the new listings BY CATEGORY ?

EG {new_listings cat=107}

I did try this but I knew it would not be that easy

Is it possible does anybody know ? I have been through a whole load of threads but couldnt find anything

Any thoughts anybody ?

Thanks

Jase
__________________
v4.1.8 Hosted - using Templatecodes neo2- green template
jason1971 is offline   Reply With Quote
Old 02-25-2010, 11:17 AM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Not according to the documentation on it.

New Listings Plugin - 68 Classifieds

What you could do however is copy the current plugin and resave is with a new name, edit the plugin and alter the database query to add an addition where clause so that it only gets ads from a specific category.

Alternativly, depending on where you want the plugin displayed, there may be a POST or GET variable you can use to pass the category to the plugin and in turn use that variable in the database query.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 02-25-2010, 12:44 PM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Jason. Can't remember if you have our stuff or not but if you do you can do it for categories, featured, new, top and combinations of all these as well (e.g. 5 listings from new listings in a specific category or 3 listings from featured listings from all categories, etc). Think I made a post about that and the combinations possible to someone else sometime back.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
{New_Listings} Smarty Plugin - adding city and state LittleRascal Customizations 4 11-15-2009 03:54 PM
new_listings row color mbworks Customizations 7 10-16-2009 11:16 AM
Most viewed plugin kayfi Technical Support 5 05-19-2009 11:19 AM
Issue with new_listings plugin jason1971 Technical Support 3 05-07-2009 07:34 AM
Plugin Help dollpage Technical Support 12 10-13-2008 04:37 PM


All times are GMT -4. The time now is 02:37 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0