I’m using FooTable module in one of my views, it works great except that I need to add additional row before each grouping. I copied original module template (footable-view.tpl.php) and moved it to my local theme template folder.
When trying to print additional fields <?php print $fields['course_number']->content; ?>
I get an error message:
Notice: Undefined index: course_number in include() (line 34 of /srv/bindings/4e464d3df34444ad9c5a5af32dd5d23b/code/sites/all/themes/rainier/templates/footable-view.tpl.php).
Notice: Trying to get property 'content' of non-object in include() (line 34 of /srv/bindings/4e464d3df34444ad9c5a5af32dd5d23b/code/sites/all/themes/rainier/templates/footable-view.tpl.php).
I’m using FooTable module in one of my views, it works great except that I need to add additional row before each grouping. I copied original module template (footable-view.tpl.php) and moved it to my local theme template folder. When trying to print additional fields
<?php print $fields['course_number']->content; ?>
I get an error message:
Notice: Undefined index: course_number in include() (line 34 of /srv/bindings/4e464d3df34444ad9c5a5af32dd5d23b/code/sites/all/themes/rainier/templates/footable-view.tpl.php).
Notice: Trying to get property 'content' of non-object in include() (line 34 of /srv/bindings/4e464d3df34444ad9c5a5af32dd5d23b/code/sites/all/themes/rainier/templates/footable-view.tpl.php).
How do I get these fields to print?
This is the footable-view.tpl.php file: