以下代码是作为主题函数的方法theme jCalendar_视图的默认代码。
<?php
function theme_jcalendar_view($node) {
$output = node_view($node, TRUE);
$output .= '<div id="nodelink">'. l(t('more', array(), $node->language), calendar_get_node_link($node)) .'</div>';
return $output;
}
?>
在我的主题中,我想输出节点的整个主体,而不是摘要?我该怎么做?我想我将这个方法添加到我的自定义template.php文件中,名为mythomename_theme_jcalendar_view。
谢谢
琳达