Adding a custom template to a parent areaBrowser Info Environment
The new block on the child page is not picking up any of the custom templates I have designed for the parent block. When I copy the custom templates to jl_parent_area/blacks/templates I am able to select the custom templates from the block. Unfortunately after the selection the parent block disappears on the child page and become two red dotted bars above the "add to main" block on the page.
A lot of the clever code in the controller works to get the styling/template from the original block onto the target page.
The block template and block design for Parent Area affect the Parent Area block, not the blocks within that area that Parent area is pulling in.
One concept would be to modify the original block template to remove all styling and inherit styling from a stylesheet on the page. Then use a page specific stylesheet and inherit the contained blocks styling from that.
Another thought would be to modify the parent area controller to be able to specify an alternate template for any of the contained blocks (in place of the actual contained block template). Formigo did something a bit like that with their container addon.
Thanks for the quick reply. You presented some great ideas for approaching the problem. I am learning alot from looking at your code. Thanks for the great add-on and the help in learning concrete5.