}
$output = '';
- //header("Content-Type: application/xml\n");
+ header("Content-Type: application/xml\n");
switch ($action) {
case 'event-rss':
break;
}
- //echo '<pre>$events: ' . print_r($events, true) . '</pre>';
- //exit;
// Load Smarty Template support
$smarty = new smartyTemplateSupport();
$viewPath = GLM_MEMBERS_EVENTS_PLUGIN_PATH . '/views';
$smarty->template->setTemplateDir($viewPath);
- //echo '<pre>$smarty: ' . print_r($smarty, true) . '</pre>';
- //exit;
-
$smarty->templateAssign('eventUrlBase', get_bloginfo('url') . '/event-detail/');
$smarty->templateAssign('title', 'Events');
$smarty->templateAssign('link', 'main_event_page_url');