Hi, and thank you for your code.

I have just installed Display Suite and when trying to theme a view these errors were generated.

Notice: Undefined variable: rows in include() (line 52 of .../sites/all/themes/fusion/fusion_core/views-view--page.tpl.php).
Notice: Undefined variable: empty in include() (line 56 of .../sites/all/themes/fusion/fusion_core/views-view--page.tpl.php).
Notice: Undefined variable: pager in include() (line 62 of .../sites/all/themes/fusion/fusion_core/views-view--page.tpl.php).

Works fine with Bartik.

Comments

js’s picture

Sorry, this looks like either a Display Suite issue, or a quirk of Drupal.

This is strange how a view displays fine when not using Display Suite, and the view with Display Suite works fine without views-view--page.tpl.php.

Of course
/fusion/fusion_core/views-view--page.tpl.php is pretty much identical to
/modules/views/theme/views-view.tpl.php
but I don't believe that views is using this default template with Display Suite.

My guess is that Display Suite is hooking and then not passing all the variables. I will post this on Display Suites issues.

esmerel’s picture

Status: Active » Closed (cannot reproduce)