I have May 12 install of Fusion Core and Acquia Marina themes. I get this error when trying to skin my Panel page containing a view.
Notice: Undefined variable: admin_links in include() (line 28 of /.../sites/all/themes/fusion/fusion_core/views-view--page.tpl.php).

Comments

stephthegeek’s picture

Status: Active » Postponed (maintainer needs more info)

Were you upgrading from a previously installed version of Fusion?

echodos’s picture

No. it is a fresh install.

aquariumtap’s picture

Title: undefined variable whe » Undefined variable admin_links when Panel contains a view
Status: Postponed (maintainer needs more info) » Active

I'm investigating this now. Updating the issue title for now.

aquariumtap’s picture

Status: Active » Closed (cannot reproduce)

I haven't been able to replicate this. I created a views block and added it to a panel, and tried it in fusion_starter and Acquia Marina. If you can provide any more information to recreate your environment...

osopolar’s picture

Priority: Major » Normal
Status: Closed (cannot reproduce) » Closed (duplicate)
ataxia’s picture

I'm getting this error still. I recently upgraded a site from D6 to D7, but I'm using a fresh copy of fusion_core (D7 version: 7.x-1.0-alpha1)

I have fusion_starter set as my default theme and fusion_core is disabled.

$admin_links definitely appears in both panels-pane.tpl.php and views-view--page.tpl.php files in fusion_core.

ataxia’s picture

Version: 7.x-1.x-dev » 7.x-1.0-alpha1

I was able to stop this error by commenting out the following lines in panels-pane.tpl.php and views-view--page.tpl.php under fusion_core:

panels-pane.tpl.php:

<?php if ($admin_links): ?>
      <div class="admin-links panel-hide">
        <?php print $admin_links; ?>
      </div>
  <?php endif; ?>

views-view--page.tpl.php:

<?php if ($admin_links): ?>
    <div class="views-admin-links views-hide">
      <?php print $admin_links; ?>
    </div>
  <?php endif; ?>

ThouArtJay’s picture

I was able to resolve the issue by disabling then re-enabling Views.