How to enable and use “Recently Viewed Adverts” feature in Items module

How to enable and use “Recently Viewed Adverts” feature in Items module

This feature is available in Items Module. Very powerful module to display DJ-Classifieds adverts in different ways. Learn more about Items Module.

How to set the Items module to display Recently Viewed Ads?

First, open the Items module. Go to Extensions -> Modules -> click “Search tools” and filter for DJClassifieds Items module (or create a new one. You can also duplicate existing module if it’s more convenient for you).

Module settings

I’ve created a new DJClassifieds Items module for this tutorial and called it “Recently Viewed Adverts”. Then in “Source” setting in the module, I chose “Latest viewed adverts” from the select list in Source setting.

image00 rcently ads

I have also set the number of items to be displayed to 3 and set 3 columns in Number of columns setting, so now users will see three recently viewed adverts.
You can also use the Ordering feature in the module, so the module's items will appear in the set order.
Now place the module in the module position you want it to be displayed (and remember to publish it).

Component settings

Additionally, you can set the behaviour of the module with settings in the DJ-Classifieds component.
Open DJ-Classifieds Options -> Security tab and scroll down.
Here you’ll find two settings:

image01 recently ads

Latest viewed ads limit let’s you set the number of adverts should be stored in cookies. So remember not to set this number higher than the number of items you set in the module settings.
Latest viewed ads store the time - this setting lets you set for how long cookie will remember the adverts viewed by the user. If a user comes back later to the website after that time, nothing will appear in recently viewed ads.


Now the module will display items that a user recently viewed.

      • Related Articles

      • Items module

        The DJ-Classifieds Items module is a simple module that allows displaying the adverts in a particular order - last, popular or random. Let's take a look at the module parameters: Options: Number of items – number of advertisements displayed in the ...
      • How to use DJ-Classifieds

        DJ-Classifieds is a powerful Joomla extension with an outstanding number of features. This article covers the basics and most important sections of the extension's set up so you can kickstart your new classified ads website easily. Ok, let's start, ...
      • Allow users on front to block publication of advert

        DJ-Classifieds users can now block publication of the advert. This is handy when they do not want to unpublish it but stop publishing it for a while. To enable this feature, go to Options - Global tab  and enable "Allow users to block adverts". Once ...
      • Items module

        Creating a module The DJ-Catalog2 Item is a simple module that allows displaying the products from the selected category in a module position. To enable this module, navigate to Extensions → Modules → New. ​ Select DJ-Catalog2 Items position: Module ...
      • How to select path for storing advert images

        New parameters in images sections allow setting paths where uploaded DJ-Classifieds images will be stored. You can set paths for adverts, categories and profiles images. The uploaded images are split to different subfolders to avoid the problem with ...