With Types you are able to determine what label you want to assign to a particular Item.
Reading furhter you'll learn:
- how to define specific types,
- how to give them the look that fits your website
- and how they will look on your site.
In addition, we'll show you how to configure the search module to search ads through their types.
DJ-Classifieds allows to define unlimited types of adverts (ex. for sale, for rent, exchange, free, etc.).
Types are set in DJ-Classifieds component control panel.
Creating new Type
Go to Types. Click "New".
When creating new Type you can set the Name and Status (published or unpublished).
In the "Label Button" tab you can design your Type. Types can be marked by labels in different colors. Administrator can customise the style of each label.
Once you're ready with the setup - click Save.
By default in DJ-Classifieds you'll find predefined Types that you can use right away (you can also disable or delete them).
Adding a Type to DJ-Classifieds item
There are two ways of adding a new item:
- From backend as an administrator
- From front as an user
Selecting Item's type as an admin
Open DJ-Classifieds control panel and choose "Add item".
Now you can set all neccessary details including Type of your item.
Selecting Item's type as an user on frontend
When on frontend choose the "Post an ad".
Now, when submitting new ad you are able to add new item and choose a proper Type.
Selected type will be assigned to selected DJ-Classifieds ad. It happens when you create single item. On the picture below is an example of one item with defined "For Sale" type.
Search by type
Types can be also assigned to DJ-Classifieds search box. This will allow you to search items through a specific type.
It is required to enable them first in the search module. Go to Module Manager.
Find the "DJ-Classifieds" search module.
Open it and marked the appropriate fields as "Show".
And the final result you can see on the front view: