Hi,
hi - this questions regards displaying specific CCK values in a custom calendar view. Because the Week View is integral to my usage, this is build in 4.7
it seems there's not much theming information for CCK output via Calenar. None of the standard node-content_example.tpl.php, or field-field_my_field.tpl.php solutions work (unless i REALLY really don't get it), as all the info must be passed through the calendar theme engine.
my end goal is simple: theme specific cck fields in a given calendar view. The values are already assigned to the view (they end up comprising the teaser), BUT they must each be themed a little differently, which when blocked all together as teaser does not work.
in order to get the week view to display all this info in the first place required some template.php theming. it looks like this:
function mytheme_calendar_node_week($node) {
$output .= '
'."\n";
$output .= theme('calendar_stripe_stripe', $node);
// the switch calculates the time format
switch ($node->calendar_state) {
...unnecessary for this question and thusly omitted
}
$output .= '
'. l($node->title, "$node->url", array('title' => t('view this item'))) .'
'."\n";
$output .= $node->teaser;