change
if ($module['layout_id'] == $layout_id && $module['position'] == 'content_bottom' && $module['status']) {
to
if ( $module['position'] == 'content_bottom' && $module['status']) {
as result , module has no layout limit
if need layout_id, follow line code can help
$GLOBALS['current_layout_id'] = $layout_id ;
if ($module['layout_id'] == $layout_id && $module['position'] == 'content_bottom' && $module['status']) {
to
if ( $module['position'] == 'content_bottom' && $module['status']) {
as result , module has no layout limit
if need layout_id, follow line code can help
$GLOBALS['current_layout_id'] = $layout_id ;
1朵
0个