Closed (cannot reproduce)
Project:
Fusion
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2011 at 23:27 UTC
Updated:
6 Apr 2012 at 16:05 UTC
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
Comment #1
js commentedSorry, 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.
Comment #2
esmerel commented