Blocks in 5.7
Permalink 1 user found helpful
How to use blocks in controller.php ,
BlockType::installBlockTypeFromPackage('page_list', $pkg);
I have change page_list block and place folder in package directory (blocks>page_list>templates>pagelistnew.php) which works in 5.6. what do i do for working in 5.7
BlockType::installBlockTypeFromPackage('page_list', $pkg);
I have change page_list block and place folder in package directory (blocks>page_list>templates>pagelistnew.php) which works in 5.6. what do i do for working in 5.7
Check line 27, too!