php coding / ProjectManager customization
-
Hey all, I have a question regarding some customization of a plugin called ProjectManager I am working on, and it involves a bit of php coding. I am not completely versed in php syntax, but am familiar with scripting concepts. I am trying to edit a template (the view/table.php template) so that it will display specific form fields from the dataset.
The page in question is here;
https://dynastyleaguefootball.com/wp/project
I am trying to customize the template so that additional fields from the Form Fields input form are displayed for each player.
This line of code displays the default value for field name,”Name” –
<td class="name"><?php echo $dataset->nameURL ?></td>
So as an example, one of the additional field sI am trying to display is a field name I called Team (in the Form Field creation page), which has a Form Field ID of 9. Based on that syntax, I am trying variations of this within the php in the template;
<td class="name"><?php echo $dataset->Team ?></td>
or
td class="name"><?php echo $dataset->9 ?></td>
etc (and many other variations).Tried a number of different combinations based on some php scripting samples I’ve seen out there, but have not yet had success. I’m wondering if anyone has some suggestions for the correct syntax, or if anyone else here has done something similar with the ProjectManager plugin.
If I’m posting this to the wrong forum, let me know. Any help would be deeply appreciated. Thank you!
KenM
- The topic ‘php coding / ProjectManager customization’ is closed to new replies.