By dancewolf_88 on
Hello everyone:
I used to assist CCK a contemplate module, how let it in the home pagedemonstrate I joined voting module (nodevote)? How does the codewrite?
<div class="field field-type-text field-field-text">
<h3 class="field-label">text</h3>
<div class="field-items">
<?php foreach ((array)$field_text as $item) { ?>
<div class="field-item"><?php print $item['view'] ?></div>
<?php print $nodevote->vote_display ?>
<?php } ?>
</div>
</div>
The in code prompt has these:contemplate:
$nodevote (object)
$nodevote->vote_display (integer)
1
$nodevote->vote_do (integer)
1
Thanks
Comments
contemplate
NodeVote Download here http://drupal.org/project/nodevote
I am not familiar with
I am not familiar with nodevote.
Are you trying to get something to appear on the front page?
Does nodevote provide a "block"? If so, you could go to "administer->blocks", and set the nodevote block to appear in the "left sidebar."
Thanks for your answer! But,
Thanks for your answer!
But, what I want isn't so
I hope it show at contemplate for CCK~
have you found a solution?
Hello dancewolf,
I have the same problem. Has anybody provided you with a solution that you could share with me?
Thanks.
xLaura
Yes,
I just need the piece of php that goes into my contemplate teaser and body fields.
Anyone?
Bests, Laura