How to place a banner/adsense into DJ-Classifieds
DJ-Classifieds has built-in module positions allowing you to put banners (for example, with Google AdSense advertisements) in particular places.
Once your template settings allow for displaying module positions (to do so you need to go to your Template Manager -> click "Options" -> set Preview Module Positions to "Enabled" ) you can check these by adding: ?tp=1 to your address or &tp=1 if there are already other parameters given in the link. This way you can check what module position works for particular page (you can also check the category/ad ID in backend instead of this method and just put the ID in the XX mentioned below).
You can point particular banners/AdSense advertisements to categories and particular advertisements.
There's a module position that displays in every view:
- djcf-top
- djcf-items-categories (between the subcategories/categories and the table/blog view)
![](/templates/yootheme/cache/78/every-view-785a6649.jpeg)
Add advert view:
- djcf-top
- djcf-additem-top
![](/templates/yootheme/cache/a1/add-item-a14cdc61.jpeg)
Checkout view:
- djcf-top
- djcf-checkout-top
- djcf-checkout-bottom
![](/templates/yootheme/cache/70/checkout-70e2484c.jpeg)
Table view:
- djcf-top
- djcf-top-cat XX (where XX is the category ID - use djcf-top-cat0 if you want to have the banner for all categories in table view)
- djcf-top-items-catXX
- djcf-items-top
- djcf-items-top-fav
- djcf-items-top-search
- djcf-items-top-region
- djcf-items-top-regionXX
- djcf-items-categories
- djcs-items-table
- djcf-bottom
- djcf-bottom-catXX
![](/templates/yootheme/cache/b3/table-view2-b3db2792.jpeg)
Blog View:
- djcf-top
- djcf-top-ca tXX (where XX is the category ID - use djcf-top-cat0 if you want to have the banner for all categories in blog view)
- djcf-items-top
![](/templates/yootheme/cache/9a/blog-view-9a0126c6.jpeg)
Categories Tree view:
- djcf-top
- djcf-cattree-top
- djcf-cattree-bottom
![](/templates/yootheme/cache/34/category-tree-345aa043.jpeg)
Item/Ad view:
- djcf-top
- djcf-top-cat XX (where XX is the category ID)
- djcf-item-top
- djcf-item-top XX (where XX is the Item/Ad ID)
- djcf-item-top
- djcf-item-description
- djcf-item-description-free
- djcf-item-bottom
- djcf-bottom
- djcf-bottom-catXX
![](/templates/yootheme/cache/47/item-47f179e9.jpeg)
Item - +18 warning view:
- djcf-warning18-top
- djcf-warning18-center
- djcf-warning18-bottom
![](/templates/yootheme/cache/6b/warning18-6b5c1c19.jpeg)
Payment view:
- djcf-payment-top
- djcf-payment-middle
- djcf-payment-bottom
![](/templates/yootheme/cache/a3/payment-a368f481.jpeg)
Profile view:
- djcf-top
- djcf-profile-top
- djcf-profile-items
![](/templates/yootheme/cache/25/profile-2540d656.jpeg)
Profile - edit view:
- djcf-top
- djcf-profileedit-top
![](/templates/yootheme/cache/a2/profile-edit-a249333d.jpeg)
Registration view:
- djcf-top
- djcf-registration-top
![](/templates/yootheme/cache/fd/registration-fd84ac93.jpeg)
Ad renew view:
- djcf-top
- djcf-renewitem-top
![](/templates/yootheme/cache/77/renew-77e9180c.jpeg)
Ad removing view:
- djcf-delete-top
- djcf-delete-center
- djcf-delete-bottom
Adding the modules
Now that you know how to find out the module positions, you can start adding the modules.
- Go to site module manager (you can find it in Content -> Site Modules)
- Find or create the module you want to place in DJ-Classifieds.
- On the module settings, enter the module position (you won't find the module positions in your template's module positions as these are related to DJ-Classifieds. All you need to do here is type the module position you checked in the previous steps)
![](/templates/yootheme/cache/cd/adview-cd29f65a.png)
- Assign the module to all pages
![](/templates/yootheme/cache/d5/allpages-d536c79a.png)