Closed (fixed)
Project:
Views Slideshow
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2011 at 05:30 UTC
Updated:
21 Sep 2011 at 00:05 UTC
When I enable slide show I get
Notice: Undefined variable: admin_links in include() (line 34 of /home7/....../public_html/staging/sites/all/themes/..../templates/views-view.tpl.php)
This relates to which works when this module is not in use.
<div class="<?php print $classes; ?>">
<?php if ($admin_links): ?>
<div class="views-admin-links views-hide">
<?php print $admin_links; ?>
</div>
<?php endif; ?>
I am using 7.x-3.0-rc1
Any help on this is greatly appreciated.
Comments
Comment #1
skesslerLook in the views-view.tpl.php in your theme directory, as the error message indicates.
There is probably a reference to the variable $admin_links, but this has not been defined. Try prefixing with @ like this:
print @$admin_linksThat should take care of your problem.
This is a drupal 7-ism to be notice compliant.
Dave