I have Two modules Albums And Signup. I need to set layout in Signup module.My difficulty is here , i need to set a layout.phtml for a page in signup module , but layout.phtml is residing in Album module.
Try using the EdpModuleLayouts https://github.com/EvanDotPro/EdpModuleLayouts
"Using EdpModuleLayouts is very, very simple. In any module config or autoloaded config file simply specify the following:"
array(
'module_layouts' => array(
'Album' => 'layout/album',
'Signup' => 'layout/signup',
),
);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.