fooplugins / FooTable

jQuery plugin to make HTML tables responsive
https://fooplugins.com/plugins/footable-jquery/
Other
2.13k stars 640 forks source link

FooTable #872

Open Kwiatek20 opened 4 years ago

Kwiatek20 commented 4 years ago

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: