1
Kalobotz
Getting blank screen after new block generation for polls module
  • 2004/7/21 17:25

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


I changed these files marked as 2 in the xoops_version.php file under the polls module. As well as creating the xoopspoll_block_poll_2.html file and the xoopspoll_2.php file

$modversion['blocks'][1]['file'] = "xoopspoll.php";
$modversion['blocks'][2]['file'] = "xoopspoll_2.php";
$modversion['blocks'][1]['name'] = _MI_POLLS_BNAME1;
$modversion['blocks'][2]['name'] = _MI_POLLS_BNAME1;
$modversion['blocks'][1]['description'] = "Shows unlimited number of polls/surveys";
$modversion['blocks'][2]['description'] = "Shows unlimited number of polls/surveys too";
$modversion['blocks'][1]['show_func'] = "b_xoopspoll_show";
$modversion['blocks'][2]['show_func'] = "b_xoopspoll_show";
$modversion['blocks'][1]['template'] = 'xoopspoll_block_poll.html';
$modversion['blocks'][2]['template'] = 'xoopspoll_block_poll_2.html';

Login

Who's Online

435 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 435


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits