Adding more "Forms" to Page Types?
Only problem is, I can only see HTML, Content, Image and Image Slider in the "Edit Form" section of Pages & Themes in the dashboard. How do I go about adding or coding in support for Files or in fact, any other type of content I wish to have in there?
That said, file is an obvious choice and should definitely be something we support. Good idea.
I seem to be having an issue adding a custom block (from a package) to the composer form even thought I have set up a composer.php file within the block.
From what I can tell from looking under the hood the function getPageTypeComposerControlObjects within the blockType.php file seems to be only looking for the composer.php file within the application/blocks and the concrete/blocks directory however not the packages folder.
Am I missing something?
$cmf = $env->getRecord(DIRNAME_BLOCKS . '/' . $bt->getBlockTypeHandle() . '/' . FILENAME_BLOCK_COMPOSER, $bt->getPackageHandle());
to that code would fix the problem.