Chaos tool suite 7.x-1.0-alpha3
Views 7.x-3.x-dev (2011-mrz.-18)

Skinr 7.x-2.x-dev (2011-mrz.-04)
Fusion 7.x-1.x-dev (2011-mrz.-14)

Where is the problem? With Ctools/Views module or Skinr/Fusion theme? Last I did was Ctools & Views update...

Comments

stephthegeek’s picture

Assigned: Unassigned » aquariumtap
Annihilator’s picture

Notice: Undefined variable: admin_links в функции include() (строка 28 в файле /var/www/set-serv/data/www/microinvest-soft.ru/sites/all/themes/fusion/fusion_core/views-view--page.tpl.php)

syntax-2’s picture

Notice: Undefined variable: admin_links in include() (line 28 of /var/www/drupal-7.0/sites/all/themes/fusion/fusion_core/views-view--page.tpl.php).

Replace line 28:
if ($admin_links):
with:
if (isset($admin_links)):
;-)

Annihilator’s picture

Thanks!

osopolar’s picture

Status: Active » Needs work
StatusFileSize
new546 bytes

#3 works for me. Patch attached.

[edit] see next post

osopolar’s picture

oops, I forgot the "if( )". FIXED.

Annihilator’s picture

Status: Needs work » Closed (fixed)
osopolar’s picture

Status: Closed (fixed) » Needs review

Not fixed at all. Please review the patch in #6.

aquariumtap’s picture

StatusFileSize
new3.31 KB

Hey ositoblanco, thank you for the patch. I looked into the issue and it seems the views template has changed since the Fusion override was written. See #876772: Better contextual link integration for blocks and pages or Views repo commit 613984f1e6abada58654a21690c5802abe803b65.

This template override is no longer needed in D7 now that $content has been replaced by a mandatory content region, so the attached patch deletes the file entirely.

BenK’s picture

Status: Needs review » Reviewed & tested by the community

I've confirmed that aquariumtap's patch in #9 removes the notice and is a more elegant solution (given that the template override is no longer needed). Everything is working well now. Marking this as RTBC.

--Ben

jeffschuler’s picture

Patch in #9 solves this for me too. Thanks!

chaloalvarezj’s picture

Patch in #9 solves this for me too. Thanks! Although I just changed the name of the template file by prefixing a double underscore.

mstrelan’s picture

+1 for #12

hokorippoi’s picture

I did #9.
Now I am getting a Include error.

Warning: include(/drupal/themes/fusion/fusion_core/views-view--page.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1247 of /drupal/includes/theme.inc).
Warning: include() [function.include]: Failed opening '/drupal/themes/fusion/fusion_core/views-view--page.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in theme_render_template() (line 1247 of /drupal/includes/theme.inc).

aquariumtap’s picture

Hi hokorippoi -- did you clear your Drupal cache? (not your browser cache)

hokorippoi’s picture

*Hits self on head*
That fixed it. Thank you.

aquariumtap’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Upgrading to the most recent version of Fusion + clearing Drupal cache will now correct this issue.

Pavlos-1’s picture

+1

aquariumtap’s picture

Pavlos, this issue is fixed by updating the most recent version of Fusion and clearing your Drupal cache. Alternatively, delete views-view--page.tpl.php and clear your Drupal cache.

manu9c’s picture

Hola yo también tengo el mismo problema me prodrian ayudar me sale esto despues de crear un Slidershow

Notice: Undefined variable: admin_links en include() (línea 23 de /var/www/estancia/emmanuel/sites/all/themes/zeropoint/templates/views-view--page.tpl.php).

Porfavor si me pudieran orientar de antemano gracias.

aquariumtap’s picture

@manu9c - estas usando esa template views-view--page.tpl.php? O sea, hiciste algunos cambios para personalizarlo? Sino, es muy probable que puedas borrarlo, clear your cache y listo.

manu9c’s picture

HOla aquariumtap, pos estoy utlilizando vistas y formularios, eso que dices de borrarlo no afectara en mis demas paginas o tambien en la base de datos.

manu9c’s picture

HOla aquariumtap, pos estoy utlilizando vistas y formularios, eso que dices de borrarlo no afectara en mis demas paginas o tambien en la base de datos.

manu9c’s picture

Hola ya hice lo que me dijiste y no marcó ningun ningún error gracias, muy amable un saludo