annotate documentation/INSTALL.txt @ 0:d8a3998dac8e ad

ajout module ad
author pierre
date Fri, 20 Feb 2009 14:04:09 +0000
parents
children e5584a19768b
rev   line source
pierre@0 1 -------------
pierre@0 2 Requirements:
pierre@0 3 -------------
pierre@0 4 - Drupal 5.x
pierre@0 5 - upload.module (if using the ad_image module)
pierre@0 6
pierre@0 7 -------------
pierre@0 8 Installation:
pierre@0 9 -------------
pierre@0 10 1) Extract the ad tarball. Move the resulting 'ad/' subdirectory within your
pierre@0 11 'modules/' directory. Be sure the web server has read permissions to this
pierre@0 12 directory and the files within it.
pierre@0 13
pierre@0 14 NOTE: For optimal performance you should set the DRUPAL_ROOT variable at
pierre@0 15 the top of the adserve.inc file. Otherwise, the ad module will automatically
pierre@0 16 determine your top level Drupal directory each time it serves an
pierre@0 17 advertisement.
pierre@0 18
pierre@0 19 2) Log in to your website and enable the ad.module.
pierre@0 20 (Goto :: administer >> modules :: then put a check next to 'ad')
pierre@0 21
pierre@0 22 3) If you wish to display image (banner) ads, enable the ad_image.module. If
pierre@0 23 it's not already enabled, you will also need to enable the upload.module.
pierre@0 24 (Goto :: administer >> modules :: then put a check next to 'ad_image' and
pierre@0 25 'upload'.)
pierre@0 26
pierre@0 27 You can set per-group limitations for image ads at administer >> modules >>
pierre@0 28 groups >> image ads.
pierre@0 29
pierre@0 30 4) If you wish to display text ads, enable the ad_text.module.
pierre@0 31 (Goto :: administer >> modules :: then put a check next to 'ad_text')
pierre@0 32
pierre@0 33 You can set global limitations for text ads at administer >> modules >>
pierre@0 34 settings >> text ads.
pierre@0 35
pierre@0 36 5) If you wish to embed ads into your site content, enable the ad_embed.module.
pierre@0 37 (Goto :: administer >> modules :: then put a check next to 'ad_embed')
pierre@0 38
pierre@0 39 You can configure embedded ads at administer >> modules >> settings >>
pierre@0 40 embedded ads. There is also online help available if you enable the Drupal
pierre@0 41 help module and go to administer >> help >> ad_embed.
pierre@0 42
pierre@0 43 6) If you wish to provide online graphical reports along with your ads, enable
pierre@0 44 the ad_report module.
pierre@0 45 (Goto :: administer >> modules :: then put a check next to 'ad_report')
pierre@0 46
pierre@0 47 7) Assign the 'show advertisements' permission to all roles that you wish to
pierre@0 48 see advertisements.
pierre@0 49 (Goto :: administer >> user management >> access control :: then put a
pierre@0 50 check next to 'show advertisements' for all roles that should see ads)
pierre@0 51
pierre@0 52 8) You can display ads in blocks by going to administer >> blocks and enabling
pierre@0 53 the per-ad-group blocks that are automatically generated.
pierre@0 54
pierre@0 55 9) Optionally configure an input filter for your advertisements that allow
pierre@0 56 the html tags to display correctly.
pierre@0 57 (Goto :: administer >> site configuration >> input filters)
pierre@0 58 If you need to associate a specific input filter with the advertisement
pierre@0 59 content type, you may want to review the following projects:
pierre@0 60 http://drupal.org/project/better_formats
pierre@0 61 http://drupal.org/project/filterbynodetype