+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Latest Items from individual categories- home page

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    15

    Exclamation Latest Items from individual categories- home page

    Hi, How do we add different blocks on the homepage that show the lastest items out of certain categories?

  2. #2
    Hello Jude,

    You can install Listing Box Plugin for that, but this plugin will allow you show latest listings from all categories. If you want to show listings from certain categories it needs some changes. If you want I send you code for that.
    At first implement listing box plugin and check it.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Junior Member
    Join Date
    Nov 2012
    Posts
    15
    Hi Viktor, thank you for your reply and i have tested the listing box plugin and we would like to only show items from certain categories. If you could please supply the code that would be fantastic.. thanks! : )

  4. #4
    Hello Jude,

    go to Admin Panel >> Listing Box click + Add new block button and create new box.

    Then go to Admin Panel >> Content Boxes find block with want name like you created box and remember key for this block for me it's 'listing_box_1'

    then go to phpMyAdmin(mysql database) >> blocks and find line with this key and click edit.

    in Content field you can see:

    PHP Code:
    Only registered members can view the code
    find line:

    PHP Code:
    Only registered members can view the code
    and replace to:

    PHP Code:
    Only registered members can view the code
    where: 'books/accessories' it's category path. Where you want to take listings.

    and save it.

    Then go to ftp://plugins>>listing_box>>rlListingsBox.class.php

    find method: getListings and code:

    PHP Code:
    Only registered members can view the code
    and replace to:
    PHP Code:
    Only registered members can view the code
    then find code:
    PHP Code:
    Only registered members can view the code
    and after it add new code:

    PHP Code:
    Only registered members can view the code
    save and check.
    Viktor,
    Flynax technical department,
    Best wishes.

  5. #5
    Junior Member
    Join Date
    Nov 2012
    Posts
    15
    That worked perfectly thank you

  6. #6
    Thank you Viktor, very nice done it

  7. #7
    Didn't worked for me can i get help here?

  8. #8
    Hello Ameer,

    Did you use all the code which I wrote above?
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    Junior Member
    Join Date
    Jul 2014
    Posts
    27
    Hi Viktor, your first post is more than a year and a half old, is it still relevant with the latest Flynax software? Because I couldn't follow your steps.

    I can create a Content Box (from Admin Panel->Content->Add a Content Box) but it asks me to select a box type: HTML, PHP or Smarty. Which one do I choose and what do I include in the content field?

  10. #10
    Hello Jahid,

    Please read my post more thoroughly because I wrote at first create a box in Listing Box plugin into admin panel:
    >>go to Admin Panel >> Listing Box click + Add new block button and create new box.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread