Permit block add

Permalink
Hi

I am currently developing a package with blocks only for integrating in pre-defined single pages. But after installing the package, the blocks are visible in the standard page add functionality.

Is there a way to hide this blocks from the page add functionality menu?

These blocks have somthing like this on the first couple lines
if($adrID > 0){   
   $address = new Address();
   $address = $address->getByAdrID($adrID);
   $adrnormgrp = AdrNormGrp::getAddressGroupNormListByAdrID($address->getAdrID());
}else{
   echo "<p><b>no Adr ID</b></p>";
}


If you would add this block, you would rather need to know the address id or have a possibility to search for an address. But in my case, it is needless to add the block as stand alone element.

If you have any further question, please let me know.

Thanks a lot.

Steff