Time for action – presenting data on the tree view page
You're going to present the enhanced information as a table embedded in a table row.
Go to the
cbEnhancedInfo_tree_after
function again and search for the following code:/* Example 3 - Data presentation is missing here ---> */ /* <--- */
As you can see, there's already some data between these two lines. If you're now going to the tree view page for your localhost device, you should actually see some data being displayed.
Replace the lines between the two code lines with the following code:
?> <tr bgcolor='#6d88ad'><td> <tr bgcolor='#a9b7cb'> <td colspan='3' class='textHeaderDark'> <strong>Enhanced Information</strong> </td> </tr> <tr align='center' style='background-color: #f9f9f9;'> <td align='center'> <?php print "<table border=1>\n"; print " <tr>\n"; print " <td>Contact Address...