Closed (fixed)
Project:
Fusion
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Mar 2011 at 13:59 UTC
Updated:
19 Apr 2012 at 08:55 UTC
Jump to comment: Most recent file
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...
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | fusion-1097482-admin-links-notice.patch | 3.31 KB | aquariumtap |
| #6 | fusion_core-views-view--page.tpl_.php-1097482-6.patch | 551 bytes | osopolar |
| #5 | fusion_core-views-view--page.tpl_.php-1097482-5.patch | 546 bytes | osopolar |
Comments
Comment #1
stephthegeek commentedComment #2
Annihilator commentedNotice: 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)
Comment #3
syntax-2 commentedNotice: 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)):;-)
Comment #4
Annihilator commentedThanks!
Comment #5
osopolar#3 works for me. Patch attached.
[edit] see next post
Comment #6
osopolaroops, I forgot the "if( )". FIXED.
Comment #7
Annihilator commentedComment #8
osopolarNot fixed at all. Please review the patch in #6.
Comment #9
aquariumtap commentedHey 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.
Comment #10
BenK commentedI'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
Comment #11
jeffschulerPatch in #9 solves this for me too. Thanks!
Comment #12
chaloalvarezj commentedPatch in #9 solves this for me too. Thanks! Although I just changed the name of the template file by prefixing a double underscore.
Comment #13
mstrelan commented+1 for #12
Comment #14
hokorippoi commentedI 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).
Comment #15
aquariumtap commentedHi hokorippoi -- did you clear your Drupal cache? (not your browser cache)
Comment #16
hokorippoi commented*Hits self on head*
That fixed it. Thank you.
Comment #17
aquariumtap commentedUpgrading to the most recent version of Fusion + clearing Drupal cache will now correct this issue.
Comment #18
Pavlos-1 commented+1
Comment #19
aquariumtap commentedPavlos, 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.
Comment #20
manu9c commentedHola 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.
Comment #21
aquariumtap commented@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.
Comment #22
manu9c commentedHOla 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.
Comment #23
manu9c commentedHOla 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.
Comment #24
manu9c commentedHola ya hice lo que me dijiste y no marcó ningun ningún error gracias, muy amable un saludo