This app will let your users save the search they made and be informed via email when the new adverts that meet the saved search criteria were added to the website.
Users can manage their saved searches in their profiles.
Install the plugin DJ-Classifieds - Search Alerts regular way as any other extension.
In your Joomla administrator panel go to
Extensions -> Plugin
and search for
DJ-Classifieds - Search Alerts
plugin and open it.
This is an important step that needs to be done.
To create new Menu, in your Joomla Administrator Panel click
Menus -> Manage -> Add New
menu item and give it a Title, Menu Type and optionally a description.
Now, add the menu item. To do so open the menu you have just created (User Menu), click "
You will be introduced to this screen:
If you have not, you can make a menu module displayed only for registered users.
You are now almost set, we have just created:
Setting up Cron is needed to tell the system how often it should check users' saved searches and send them the email notifications.
Setting up CRON can vary between different hosting providers; in this tutorial, we'll explain how to set it up for Cpanel.
Once there set:
-q -F -O - " https://yourdomain.com/index.php?option=com_djclassifieds&task=cronSearchNotifications " >/dev/null 2>&1
From now, the cron will fire the link and send emails to users as often as your settings in point 1.
There is a new email template that you can edit to fit the Search Alerts notifications.
You can find it in
Components -> DJ-Classifieds -> Email templates -> Saved Search - User Notifications
You can there edit the email template to fit your website needs.
When the user saves the search and the advert that meets the Saved Search criteria are submitted to the website, he will notify it.
For example, in my case, I have 3 saved searches.
If a new advert in the "Real Estate" category is submitted the email sent to the user can look like this:
Clicking the "Big House" link will open this particular advert.
There can be more than one results sent in one email.
To illustrate the process: when I filter the search module like this (I could use all of the filters or choose other filters):
The results will look like this (this is the result that fits the search criteria):
As you can see, there's now a link "Save Search" - that means a user can save a search with those criteria.
Once the link is clicked a user will be asked to log in to the website or if he is already logged in - will be forwarded to this screen:
As you can see the search was saved with the criteria used in the filter/search module of DJ-Classifieds, so we have no "Phrase" as I did not use any keyword for search, there is "Books" category chosen as well as other details including extra fields selections and other criteria like that I want to be informed about the ads with images only.
When in this place user clicks the "
" to be introduced to the search results or click "
" to stop alerts about this search results.
The "Save Search" link can also be visible on items list from a category:
in this case,
only a category
will be saved as a criterion for search alert:
in this case, only a category will be saved as a criterion: