Your answer has solved the problem, I create my "carousel" from lib-custom.
Text Formatted Code
function CUSTOM_templateSetVars($templatename, $template)
...
if (COM_onFrontpage()) {
$tid = 'home';
$full = true;
} else {
COM_setArgNames(array('page', 'disp_mode'));
$tid = COM_applyFilter(COM_getArgument('page'));
}
$carousel = DWS_Carousel($tid, $full);
...
switch ($templatename) {
case 'header':
$template->set_var('carousel', $carousel);
break;
...
I avoid touching geeklog core.
Thank you very much!
D Web Studio - www.d-webstudio.net