+ Reply to Thread
Results 1 to 4 of 4

Thread: How to display 100 ads in the "Recently added" box

  1. #1

    How to display 100 ads in the "Recently added" box

    The "Recently added" box displays 30 items.
    How can I change this number to 100 ?

    Thanks a lot
    Olivier

  2. #2
    Hello Oliver,

    The recently added page like all other pages with listings has 1 config for show listings per page. If you want to change the limit listings on the page you should create new config or change number of listings manually and do it like hardcode for the recently added page.
    Let me know how do you want to do it?
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Hardcode is ok for me.

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,159
    Hello,

    In this case, you should modify the following files:

    go to ftp > your site package > includes > controllers > recently_added.inc.php > edit

    find a code:
    PHP Code:
    Only registered members can view the code
    set your listings number instead of $config['listings_per_page']

    then go to ...includes > classes > rlListings.class.php > find function ajaxloadRecentlyAdded

    find a code:
    PHP Code:
    Only registered members can view the code
    and do the same

    then go to templates > your_template > tpl > blocks > recently.tpl

    in:
    Code:
    Only registered members can view the code.
    replace $config.listings_per_page with your number

+ Reply to Thread