Classifieds
What you can insert into a template from the “Classifieds” module: blocks and lists with parameters and examples.
Post an ad — classifieds.add
A button-link to the ad submission form. Kind: button; works on any page.
Example:
{block:classifieds.add}Classifieds: search and categories — classifieds.home
The board’s first screen: a headline, a search line, “Post an ad” (if visitors may post) and tiles of top-level categories with the number of ads. Put it first on the home page, above the latest ads. Kind: block; works on any page.
Example:
{block:classifieds.home}Latest ads — classifieds.latest
The latest published ads: cards with a photo, price and city on the home page, a list with prices in the sidebar. Kind: block; works on any page.
| Parameter | Meaning | Default |
|---|---|---|
limit | How many to show. From 1 to 12. | 4 |
category | Category: address (slug) or number, subcategories included. Empty — all. | |
look | Look: list — a narrow list (for a sidebar), wide — full-width cards (for the home page). Values: list, wide. | list |
Example:
{block:classifieds.latest limit=4 look=wide}Обновлено 17.11.2026