You are here

function dynamic_banner_help in Dynamic Banner 7.2

Same name and namespace in other branches
  1. 8 dynamic_banner.module \dynamic_banner_help()
  2. 6 dynamic_banner.module \dynamic_banner_help()
  3. 7 dynamic_banner.module \dynamic_banner_help()
  4. 8.x dynamic_banner.module \dynamic_banner_help()

Implements hook_help().

File

./dynamic_banner.module, line 21
Distributed under GNU GPL version 3

Code

function dynamic_banner_help($path, $arg) {
  switch ($path) {
    case 'admin/help#dynamic_banner':
      $output = t('<p>Provides a mechanism for Pages to automatically generate a banner for use inside a block.</p>
        <h2>Settings</h2>
        <p>Move the block to the part of your theme you wish it to display on.
        I suggest adding in your own template theme for location and printing (see Drupal theming)</p>
        <p>Change the theme file (located in dynamic banner module folder) so that you can change what the html is when dynamic banner prints.</p>
        <p>Change the css and js files to do what you like with the banner</p>
        <p>Modify the links inside of the admin/site_building menu or when you create new pages a specific banner appears on it, and / or make a default banner for non specific pages. </p>
        <p>Follow the convention of * for wild cards (no slash required) and ! for randomizing (see examples)</p>
        <p>Example normal path = about/us</p>
        <p>Example random path = about/us!</p>
        <p>Example wildcard path = about/us*</p>
        <p>Please note that there is no leading slash or terminating slash (no slashing the beginning or end)</p>
        <p>In the future you will be able to navigate to the image and select it and the URL will be inserted for you</p>
        <p>Or when you choose to upload one on the spot the URL will be grabbed from that.<p>
        <p>Example image path = sites/all/themes/banners/default.jpg</p>');
      return $output;
  }
}