Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_module_block_info() {
- $blocks = array();
- $blocks['lp_sidebar'] = array(
- 'info' => t('Lesson Planner'),
- 'status' => TRUE,
- 'region' => 'nav_column',
- 'visibility' => BLOCK_VISIBILITY_LISTED,
- 'pages' => "lesson-plannerrn"
- );
- return $blocks;
- }
- function my_module_block_view($delta = '') {
- $block = array();
- switch ($delta) {
- case 'lp_sidebar':
- $block['subject'] = '';
- $block['content'] = _my_module_get_steps();
- break;
- }
- return $block;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement