You are here

function simple_popup_blocks_help in Simple Popup Blocks 8

Same name and namespace in other branches
  1. 8.2 simple_popup_blocks.module \simple_popup_blocks_help()

Implements hook_help().

File

./simple_popup_blocks.module, line 14
Contains simple_popup_blocks.module.

Code

function simple_popup_blocks_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.simple_popup_blocks':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Simple Popup Blocks module will turn any blocks, views, forms or anything into popup with the css selectors.') . '</p>';
      $output .= '<h3>' . t('Configuration') . '</h3>';
      $output .= '<p>' . t('To add popup, Go to Administration » Configuration » Media » Add simple popup blocks.') . '</p>';
      $output .= '<p>' . t('To manage popup, Go to Administration » Configuration » Media » Add simple popup blocks » Manage.') . '</p>';
      $output .= '<p>' . t('Once you created the popup, you will get some extra options like enable and adjusment classes. Use the suggested class to customize the popup designs with your own css.') . '</p>';
      $output .= '<h3>' . t('Popup Designs') . '</h3>';
      $output .= '<p>' . t("This module will not add any default popup designs. You have to customize it based on your requirement, It will provide CSS selectors on popup's edit page, with that you can extend the designs.") . '</p>';
      $output .= '<h3>' . t('Note') . '</h3>';
      $output .= '<p>' . t('1. Clear the caches whenever you create or update the popup settings.') . '</p>';
      $output .= '<p>' . t('2. Placing your block at the bottom of you site is preferable') . '</p>';
      return $output;
  }
}