Showing stars from page.tpl

Created on 4 April 2012, about 13 years ago
Updated 2 September 2024, 8 months ago

Hello,

i need to display a node's vote from page.tpl.php (and not from node.tpl.php).

Any ideas on how to do this?

In page.tpl i have a $node variable, that contains this:

["field_vote"]=>
array(1) {
["und"]=>
array(1) {
[0]=>
array(3) {
["user"]=>
string(3) "100"
["average"]=>
string(3) "100"
["count"]=>
string(1) "1"
}
}
}

THanks :)

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇮🇹Italy Sifro

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024