Knowledgebase: v 4.x.x
How to add latest listings to a page?
Posted by Lena Kosyakova on 11 August 2009 09:58 PM
You can add latest listing to the page with the use of the following command:


{module name="classifieds" function="search_results"
action="search"
results_template="last_listings.tpl"
sorting_field="activation_date"
sorting_order="DESC"
listings_per_page=20}


Please note that you will have to create a last_listing.tpl as well. You can start by cloning the default "search_results.tpl" and then modify it to your preference.
(340 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Fusion