Hi, How do we add different blocks on the homepage that show the lastest items out of certain categories?
Hi, How do we add different blocks on the homepage that show the lastest items out of certain categories?
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.
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! : )
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:
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.PHP Code:
Only registered members can view the code.
and save it.
Then go to ftp://plugins>>listing_box>>rlListingsBox.class.php
find method: getListings and 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.PHP Code:
Only registered members can view the code.
Viktor,
Flynax technical department,
Best wishes.
That worked perfectly thank you
Thank you Viktor, very nice done it
Didn't worked for me can i get help here?
Hello Ameer,
Did you use all the code which I wrote above?
Viktor,
Flynax technical department,
Best wishes.
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?
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.