There's a small glitch in the faq_ask_block() hook, where the
<?php
function faq_ask_block($op = 'list', $delta = 0, $edit = array()) {
switch ($op) {
case 'view':
$block['title']= t('Ask a Question');
?>
should really be
<?php
function faq_ask_block($op = 'list', $delta = 0, $edit = array()) {
switch ($op) {
case 'view':
$block['subject']= t('Ask a Question');
?>
in order to allow Drupal to override the block's title with whatever an admin might have typed in at admin/build/block.
Comments
Comment #1
stenjo commentedYou are quite right!
Will be updated in the 2.x-dev as soon as I get the chance to do it :-). Thank you.
Comment #2
stenjo commentedFixed in the 2.1-beta2 version