You are here

function googtube_help in Googtube 6

Same name and namespace in other branches
  1. 5 googtube.module \googtube_help()
  2. 6.2 googtube.module \googtube_help()
  3. 7.2 googtube.module \googtube_help()
  4. 7 googtube.module \googtube_help()

File

./googtube.module, line 4

Code

function googtube_help($path, $arg) {
  switch ($path) {
    case 'admin/help#googtube':
      $output = '<p>' . t('Googtube is a filter module that automatically converts Youtube and Vimeo video urls into embedded code.  Useful if users want to post videos easily.') . '</p>';
      $output .= t('<p>Use Input Formats to enable the googtube filter</p>
<ol>
<li>Select an existing Input Format or add a new one</li>
<li>Configure the Input Format</li>
<li>Enable googtube filter and Save configuration</li>
<li>Rearrange the weight of the googtube filter depending on what filters exist in the format. (Before Url Filter and after HTML works for me)</li>
</ol>');
      $output .= t('<p>You can</p>
      <ul><li>enable the googtube in an input format from <a href="%admin-filters">administer &gt;&gt; Input Filter</a>.</li></ul>', array(
        '%admin-filters' => url('admin/filters'),
      ));
      $output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="%googtube">googtube filter page</a>.', array(
        '%googtube' => 'http://www.drupal.org/handbook/modules/googtube/',
      )) . '</p>';
      return $output;
  }
}