1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Listing plugin question

Discussion in 'Technical Support' started by markstanden, Apr 3, 2014.

  1. markstanden Customer

    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

  2. markstanden Customer

    found it, the plugin file itself had limit 4 in the code

    thanks
    Mark
  3. Mike-N-Tosh Owner

    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"}
  4. markstanden Customer

  5. Mike-N-Tosh Owner

    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)
  6. markstanden Customer

    Thanks for your help Mike :)

Share This Page