Closed (fixed)
Project:
AT Panels Everywhere
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2010 at 22:37 UTC
Updated:
25 Mar 2010 at 12:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
Jerome F commentedAdding the following in page.tpl.php works too.
<span id="logo"><?php print $linked_site_logo; ?></span>Then adding all the content of pane-header.tpl.php in page.tpl.php works too :
So I wonder if that means that pane-header.tpl.php isn't taken into account ?
Comment #2
Jerome F commentedIt happens to be just a syntax error in the name of my template in the functions.
Sorry for that.
Edit : it doesn't solve the problem.
Comment #3
Jerome F commentedI had to use the code provided by panels everywhere (1), because the code in AT panels everywhere (see #1) doesn't display the logo.
I'm not a php coder, that's why I don't understand what this code is supposed to return.
Strange though, that in a preview in panels the logo shows up along with the search box, etc. And all these don't show up on the actual page. Just as if logo was empty.
1) in pane-header.tpl.php
1) in template.php
Comment #4
Jeff Burnz commentedI have just been messing about with this and I had to clear the theme registry then everything shows up as per normal.
Comment #5
Jerome F commentedThat is so confusing. It works fine in AT panels everywhere, but not in the custom theme I created based on it.
Clearing the theme registry doesn't help.
My function is called OK i think (from template.php) :
Is my issue related to the folder where I put my custom theme ?
The path to adaptative theme : sites/all/themes/adaptivetheme/adaptivetheme
The path to my custom theme : sites/all/themes/elephant/elephant_site_panels_everywhere
I guess not because my admin custom theme is there as well and the logo is displayed : sites/all/themes/elephant/elephant_corporate_at_admin
And even if my custom theme is in the same directory, the logo doesn't shows up either.
For the moment I have to use the default pane-header.tpl.php and preprocess function as the AT ones breaks the logo and I don't know why.
Perhaps it's easier to reproduce this behavior if I make a copy of my theme folder available (edit : removed)
It could also be related to this issue :
http://drupal.org/node/686886
Comment #6
Jeff Burnz commentedThanks for adding the theme files, that made it very easy for me to find the issues.
There were two issues really:
1) the info file was incorrectly named elepnant_ instead of elephant_
2) you had a direct copy of the theme inside the theme, which I think was causing some issues.
I have attached the fixed theme - make sure you remove your current theme completely and then add this one, this is only the elephant_site_panels_everywhere theme.
You probably want to switch theme before making the change (and disable the elepnant theme) otherwise you're going to get a lot of big red errors.
Just a side note: when ever you are using AT and you go to your subthemes settings page and you don't see the advanced theme settings, you know something is wrong with either the info file or the theme_settings.php file, its always a flag that there's probably a typo somewhere.
Comment #7
Jerome F commentedOmg, that's right I'm sorry. I should have noticed it was so obvious. Thank you very much for your help.
I definitely shall double check for these typo when something's wrong.
Everything works now I mark this fixed.
Comment #8
Jeff Burnz commentedYour welcome, and don't sweat it, we've all been there done that, its always the most obvious things you forget to check for, its just that I've done it SO often I know what to look out for, lol.