hi guys,

how to theme the annotate form on my custom node template?

greets

Lausch

Comments

Lausch’s picture

Assigned: Unassigned » Lausch
Priority: Critical » Minor
Status: Active » Fixed

sorry

founr the way

$node->content['annotate_form']['#value']

greets

Lausch

Anonymous’s picture

Status: Fixed » Closed (fixed)
asak’s picture

@Lausch - could you provide more info as to how you are using that line of code?

I'm trying to get the annotation into a panel, and can seem to get that working.

the closest i got (mentioned here: http://drupal.org/node/316477) is:

<?php
$node = node_load(arg(1));
print drupal_get_form('annotate_private_entry_form',$node);
?>

But doesn't display the annotation if there are any - just an empty form. it does, however, save annotation correctly it just doesn't know how to fetch them.

Lausch’s picture

hi ive done it like u see above

with $node->content['annotate_form']['#value']

example...

$node = node_load(arg(1));
print $node->content['annotate_form']['#value'];

greets

Lausch