Hi Mike, Im running v4.2.5 Developer Im using the Listing plugin to make lists on my home page of new and top listings, i can get it to display ok but no matter what i set the number of listings to is only brings back 4 listings The top line of code im using is below, what could be causing this?? {listings number="10" featured="N" sort_order="desc" sort_column="dateadded" assign="new_listings"} Thanks for any help, my home page is http://www.ukbiz.info (at the bottom) Mark
Mark, You are using the wrong variable in your plugin call. The number of listings to show is the variable "limit" NOT number. So your call should be like this: {listings limit=10 featured="N" sort_order="desc" sort_column="dateadded" assign="new_listings"}
Hi Mike, Just looked at the documentation again here http://www.68classifieds.com/documentation/plugins/listings which does say number in the example. Using number does work, but have changed it to limit. Thanks for looking at this. Mark
Mark, Thanks for bringing this to my attention. The documentation online is incorrect. I have corrected it. In the plugin itself, it does say to use limit. Number will not work, because there isn't any "number" variable in the plugin anywhere. (This is all assuming that you are using v4.2.5)