Breadcrumbs

Home / Help / FAQ / Tutorials / DJ-Classifieds FAQ / How to place a banner/adsense into DJ-Classifieds

Top Menu

Content

How to place a banner/adsense into DJ-Classifieds
How to place a banner/adsense into DJ-Classifieds 4.3 out of 5 based on 40 votes.

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 allows 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 - for example: http://demo.dj-extensions.com/dj-classifieds/ads/electronic-equipment,8?tp=1 . 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 positions that displays in every view:

  • djcf-top
  • djcf-items-categories (between the subcategories/categories and the table/blog view)

every view

Add advert view:

  • djcf-top  
  • djcf-additem-top 

add item

Checkout view:

  • djcf-top  
  • djcf-checkout-top  
  • djcf-checkout-bottom 

checkout

Table view:

  • djcf-top
  • djcf-top-catXX (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  
  • djcf-bottom  
  • djcf-bottom-catXX 

table view

Blog View:

  • djcf-top
  • djcf-top-catXX (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

blog view

Categories Tree view:

  • djcf-top
  • djcf-cattree-top
  • djcf-cattree-bottom

category tree

Item/Ad view:

  • djcf-top
  • djcf-top-catXX  (where XX is the category ID)
  • djcf-item-top
  • djcf-item-topXX (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

item

Item- +18 warning view:

  • djcf-warning18-top
  • djcf-warning18-center
  • djcf-warning18-bottom

 

warning18

 

Payment view:

  • djcf-payment-top
  • djcf-payment-middle
  • djcf-payment-bottom

payment

Profile view:

  • djcf-top  
  • djcf-profile-top  
  • djcf-profile-items 

profile

Profile - edit view:

  • djcf-top  
  • djcf-profileedit-top  

profile edit

Registration view:

  • djcf-top  
  • djcf-registration-top  

registration

Ad renew view:

  • djcf-top 
  • djcf-renewitem-top

renew

Ad removing view:

  • djcf-delete-top
  • djcf-delete-center
  • djcf-delete-bottom

advert removal

 

Now that you know how to find out the module positions you can start adding the modules.

  1. Go to your module manager and find the module you want to place in DJ-Classifieds (or create a new one)
  2. Open the module settings and enter the module position (you wont find the module positions in your template's module positions as these are related to DJ-Classifieds. All you need to do here is just type the module position you checked in previous step, see how it works: add-position-dj-classifieds)
  3. Assign the module to all pages 

 


Found this article interesting? Subscribe for more.
Or share this article with your friends.
Monday, 12 November 2012 13:36
 
User Rating:  (40)
PoorBest
 

Footer Menu