1 edb Apr 22, 2004 17:35
3 isaac Jul 09, 2004 22:29
Yes. In _main.php in your skin.
Ed, I always see that url, and my eyes see "Whites and Shang Gliding", and I think "Who are Whites and Shang?"
4 ednong Jul 10, 2004 00:48
isaac wrote:
(?)
Ed, I always see that url, and my eyes see "Whites and Shang Gliding"...
Ed? Ah, EdB! :D
I saw this too and was thinking about its meaning ? I thought sth like "White Sand Shang Gliding" and was a little bit confused until I saw it. :D
ed
5 jibberjab Mar 05, 2005 21:21
I'm using kubrick2evo and can't seem to get this code to work to display a custom header image for each blog. In kubrick2evo (_main.php), this is the relevant piece of code:
<div id="header">
<h1>
<a href="<?php $Blog->disp( 'blogurl', 'raw' ) ?>"><?php $Blog->disp( 'name', 'htmlbody' ) ?></a>
</h1>
<div class="description"><?php $Blog->disp( 'tagline', 'htmlbody' ) ?></div>
</div>
I think one of the problems is that the header image is called as a background in div#header in the stylesheet. Is there a way to dynamically call a div background? Can anyone offer some suggestions?
jj.
6 jibberjab Mar 06, 2005 18:42
Actually, how about generating the div ID itself via php, based on the blogname... then creating a separate CSS style for each div ID... Problem is, I don't know enough php yet to generate the ID names for the divs.
Would something like this work? (Relevant piece in the first line)
<div id="header<?php echo $blog ?>">
<h1>
<a href="<?php $Blog->disp( 'blogurl', 'raw' ) ?>"><?php $Blog->disp( 'name', 'htmlbody' ) ?></a>
</h1>
<div class="description"><?php $Blog->disp( 'tagline', 'htmlbody' ) ?></div>
</div>
[edit: woohoo! It works.]
jj.
Hi,
this looks nice. But works this in 0.9.0.9 too? And where I must place this code?
ed