By Mattatron on
Hi guys,
I've encountered this unknown problem as stated in the title:
Notice: Undefined variable: site_name_and_slogan in include()
Anyone know how to solve this?
Your help is much appreciated!
Thank you!
Hi guys,
I've encountered this unknown problem as stated in the title:
Notice: Undefined variable: site_name_and_slogan in include()
Anyone know how to solve this?
Your help is much appreciated!
Thank you!
Comments
Garland theme
only has this variable. Are you trying to display it using another theme?
www.purpleoar.co.nz/scryptik - Javascript editor with syntax error checking
www.purpleoar.co.nz - Web development, Drupal consultancy
Yes. I'm using another theme
Yes. I'm using another theme called journalcrunch.
Everytime when I refreash the page, this error appears..
But when I remove the cache, it is okay again.
Just try to download fresh
Just try to download fresh version: http://drupal.org/node/1041312
Cheers,
Andrey
Drupal Sites Showcase. Add yours! | My Blog
here is fix
Just use this ones:
print $site_name;print $site_slogan;No worky :(
No workie :(
template.php
If you copy other theme and rename to your new theme, check file 'template.php', you must change function's name to corresponding name too.
editing template.php
It's great renaming the functions with the new template name in template.php solved the problem
Thanks, this fixed mine!
Thanks, this fixed mine!