I’m newbie here. I have created a new pod, and create some code on its Pod page which calculates some global variables. I created also a template for this Pod, all on wp_admin -> Pods -> Settings.
I would like to use calculated global variables on my template for every pod in the list. Is this possible ?
I tryied by using global php variables but without luck.
If you’re calling your template like:
Simply try this:
$record->myvar = 'Yay'; $record->showTemplate('mytemplate');
And in your template, call:
echo $record->myvar; // this outputs "Yay" onto the page
You must be logged in to reply to this topic.