Can't get dashboard to recognize new blocks

Permalink
I can't get new blocks to show up in the dashboard for installation. I've tried the demo block in the developers download section, a modified HTML block, and a straight-up copy of the HTML block. I've uploaded to the /block folder and the /concrete/block folder. Nothing shows up in the Add Functionality section of the dashboard. Can't find any solution anywhere on the forums.

Someone suggested it was because the class name in controller.php had to match the folder name. I changed it to match, but it still doesn't work. Surely someone else has had this problem?

 
synlag replied on at Permalink Reply
synlag
try:

folder name:
webroot/blocks/simple_test

in controller.php
...
class SimpleTestBlockController extends BlockController { 
...
protected $btTable = 'btSimpleTest';
...
}


in db.xml
<?xml version="1.0"?>
<schema version="0.3">
   <table name="btSimpleTest">
      <field name="bID" type="I">
         <key />
         <unsigned />
      </field>
      ...
   </table>
</schema>