Wrapping a theme around register.php with embedded scrapbook blocks

Permalink
I have a theme with several scrapbook blocks embedded in the header: an autonav, a search block, and a font sizer block.

I initially built this site using regular blocks placed while in editing mode; once I got the design & functionality working the way I wanted, I embedded the blocks with code, like so (autoNav block, with custom template 'MegaMenu' applied:

<?php
    $MenuBlock = Block::getByName('MegaMenu');
    $bv = new BlockView();
    $bv->render($MenuBlock );


All the blocks have a custom template set, calling .js or .css to style the block, etc. This works great in most pages, but not so much for register.php or profile page.

I'm baffled why it won't load the proper .css or .js for the block. The next thing I'm going to try is to move the .js & .css files to their respective root folders and call them in header_required.php. Hopefully I won't run into any path issues.

I should mention that the .css or .js aren't loading into the head at all -- they're not showing up in the source of the rendered page, so it appears C5 is just ignoring them.

I'm also getting an error
fatal error: Call to undefined method View::outputFooterItems() in /home/wtwpcom/public_html/elements/footer_required.php on line 2

invision