site title in header problem
Permalink
Hi there,
I am using the grunge columns theme
I edited the site title displayed in header out in my css
It woked fine for firefox and opera, but in IE the title is displayed still.
You can look, if you have IEwww.www.sturmlicht.com/index.php...
I then deleted the my_site_name in the global scrapbook
title in IE is still there
I tried to follow instructions as to edit in php code:
[
<a href="<?php echo DIR_REL?>/"><?php
$block = Block::getByName('My_Site_Name');
if( $block && $block->bID ) $block->display();
else echo SITE;
?></a>]
I thought I´d just remove the else echo site
then I removed the whole code
nothing happened in IE
anyone have any suggestions?
I am using the grunge columns theme
I edited the site title displayed in header out in my css
It woked fine for firefox and opera, but in IE the title is displayed still.
You can look, if you have IEwww.www.sturmlicht.com/index.php...
I then deleted the my_site_name in the global scrapbook
title in IE is still there
I tried to follow instructions as to edit in php code:
[
<a href="<?php echo DIR_REL?>/"><?php
$block = Block::getByName('My_Site_Name');
if( $block && $block->bID ) $block->display();
else echo SITE;
?></a>]
I thought I´d just remove the else echo site
then I removed the whole code
nothing happened in IE
anyone have any suggestions?
Hey can you help me? I have the error {[CCM:SITE]} in my header...I hate it! I dont know what I did...please help! I am very new at this, and need step by step instructions :(
Feel free to PM me. We can discuss our options :-)
I'm so sorry, this is all new...what is PM?
Visit my profile:http://www.concrete5.org/profile/-/8415/... and click: Send Message.
Or you can contact me @ thomas@c5rockstars.com
Or you can contact me @ thomas@c5rockstars.com
Hi ThemeGuru,
thanks, I cleared cache, this is not the thing
How can I remove the snippet?
I don´t want a logo, nor a text nor a link, I just want nothing at all to show up there, it interferes with my design. I don´t get it why, if I remove the echo_dir does it still show up?
Can somebody please take a sec to explain?
great thanks
thanks, I cleared cache, this is not the thing
How can I remove the snippet?
I don´t want a logo, nor a text nor a link, I just want nothing at all to show up there, it interferes with my design. I don´t get it why, if I remove the echo_dir does it still show up?
Can somebody please take a sec to explain?
great thanks
I don´t know anything about php, maybe that´s the real prob.
To put it in my words, and pls correct me where I go wrong
when IE opens the site, it reads the view.php
in there there is the code
[
<a href="<?php echo DIR_REL?>/"><?php
$block = Block::getByName('My_Site_Name');
if( $block && $block->bID ) $block->display();
else echo SITE;
?></a>
]
So IE looks fo a block in the global scrapbook that is called "My_Site_Name"
The block can be any type, content, html, image, slideshow, flash ....?
Whatever it is, it will be displayed
The place where it is displayed, the formatting, etc. is defined in main.css or typography.css in my theme
Why does the change made in css not affect the way IE displays the title?
If a block called "My_Site_Name" cannot be found, IE displays the site title as it is defined in my dashboard - sitewide settings - general - site name (else echo SITE)
If I remove else echo SITE, what happens? Or what should happen?
If I remove the whole codeblock as it is above, ditto?
I am also using the dark choc theme, for my pic galleries.
If I open this in IE, it shows a white square with an X, like it does, when there should be an image, that can´t be found.
seehttp://www.sturmlicht.com/index.php/media/photos/u4/...
To put it in my words, and pls correct me where I go wrong
when IE opens the site, it reads the view.php
in there there is the code
[
<a href="<?php echo DIR_REL?>/"><?php
$block = Block::getByName('My_Site_Name');
if( $block && $block->bID ) $block->display();
else echo SITE;
?></a>
]
So IE looks fo a block in the global scrapbook that is called "My_Site_Name"
The block can be any type, content, html, image, slideshow, flash ....?
Whatever it is, it will be displayed
The place where it is displayed, the formatting, etc. is defined in main.css or typography.css in my theme
Why does the change made in css not affect the way IE displays the title?
If a block called "My_Site_Name" cannot be found, IE displays the site title as it is defined in my dashboard - sitewide settings - general - site name (else echo SITE)
If I remove else echo SITE, what happens? Or what should happen?
If I remove the whole codeblock as it is above, ditto?
I am also using the dark choc theme, for my pic galleries.
If I open this in IE, it shows a white square with an X, like it does, when there should be an image, that can´t be found.
seehttp://www.sturmlicht.com/index.php/media/photos/u4/...
ok almost sorted out now.
Replaced My_site_name block by an image block with an image 1px by 1px
ok with gunge columns, but still problem with dark choc, X still displaying.
Replaced My_site_name block by an image block with an image 1px by 1px
ok with gunge columns, but still problem with dark choc, X still displaying.
If your not wanting to have the site title I would remove it completely (i.e. the snippet) and replace it with a logo.
As well you might want to consider clearing your site cache as well as your browser cache.