3
I'm using the popup to display a page and I just want to display the modules center contents without displaying anything else since this is a popup, how can I grab just the center contents. Below is a snippet of my code, part of the switch section:
case "day":
// We must always set our main template before including the header
$xoopsOption['template_main'] = 'day.html';
// Include the page header
include(XOOPS_ROOT_PATH.'/header.php');
$xoopsModuleConfig["back_to_calendar"] = FALSE;
include('day.php');
include('include/back_to_month.php');
include('include/menu_builder.php');
$xoopsTpl->assign('footer_links', $footer_links);
$xoopsTpl->assign('functions',$xoopsModuleConfig['functions']);
$xoopsTpl->assign('current_display', $current_display);
$xoopsTpl->assign('day_prev_button', $day_prev_button);
$xoopsTpl->assign('add_button', $add_button);
$xoopsTpl->assign('edit_button', $edit_button);
$xoopsTpl->assign('day_next_button', $day_next_button);
$xoopsTpl->assign('category_dropdown', $category_dropdown);
$xoopsTpl->assign('view_cat_button', $view_cat_button);
$xoopsTpl->assign('back2month', $back2month);
$xoopsTpl->assign('calendar_mini_current', $calendar_mini_current);
$xoopsTpl->assign('calendar_main', $calendar_main);
// Include the page footer
include(XOOPS_ROOT_PATH.'/footer.php');
break;
This will display the entire page with theme header, footer and any active blocks. I would like to use this same switch for when I call the popup but just want the center module data.