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