Recent Topics

1 Aug 22, 2006 16:26    

hi edb,

thanks that helped me! at the moment I am updating my good old skin to 1.8. similar to kubrick2evo.

just want to put in my header-rotation into _main.php it looks like this:


<?php if( $disp != 'single' ) {
	echo '<div id="wrapper">';
	} else {
	echo '<div id="wrapperWide">';
	} ?>

<div id="wrapper">

<div>

<?
srand(microtime()*1000000);
$bild= rand(1,25);
?>

<img src="http://www.snigles.de/skins/kubrick2evo/img/header/<? echo $bild; ?>.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a>
</div>

<div align="center">
  <center>
  <table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="727" id="AutoNumber3">
    <tr>
      <td>
    <img border="0" src="http://www.snigles.de/img/werbung.gif" width="9" height="60"></td>
      <td>
<?php
    if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('', 2, '_blank', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }
?>

</td>
      <td>

<?php
    if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('', 4, '_blank', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }
?>

</td>
    </tr>
  </table>
  </center>
</div>

have a problem with the kubrickbg.jpg that is shown at the top of the page :( how can I change it?

regards
Joachim

2 Aug 22, 2006 16:31

I split this into a new topic because it deals with an issue specific to your skin. A tidy forum is a happy forum!

That file is called by the style sheet as a background image. There may be other ways, but the only way I can think of to change it is to do a random and call different style sheets in the header.

3 Aug 22, 2006 19:47

sorry for posting in the wrong thread.
anyway this rotation already worked in my skin @ version 0.9.2 and it also works in version 1.8 but I with a "bad" border see URL http://www.snigles.de and a a grey line under the header

<?php if( $disp != 'single' ) {
	echo '<div id="wrapper">';
	} else {
	echo '<div id="wrapperWide">';
	} 
	
?>



<div id="header">

<? 
srand(microtime()*1000000); 
$bild= rand(1,25); 
?> 

<img src="http://www.snigles.de/skins/kubrick2evo/img/header/<? echo $bild; ?>.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a> 
</div> 

<div align="center"> 
  <center> 
  <table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="727" id="AutoNumber3"> 
    <tr> 
      <td> 
    <img border="0" src="http://www.snigles.de/img/werbung.gif" width="9" height="60"></td> 
      <td> 
<?php 
    if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) { 
        if (!isset($phpAds_context)) $phpAds_context = array(); 
        $phpAds_raw = view_raw ('', 2, '_blank', '', '0', $phpAds_context); 
        echo $phpAds_raw['html']; 
    } 
?> 

</td> 
      <td> 

<?php 
    if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) { 
        if (!isset($phpAds_context)) $phpAds_context = array(); 
        $phpAds_raw = view_raw ('', 4, '_blank', '', '0', $phpAds_context); 
        echo $phpAds_raw['html']; 
    } 
?> 

</td> 
    </tr> 
  </table> 
  </center> 
</div>


maybe something to change in kubrick2evo.css?
so long
joachim

4 Aug 22, 2006 23:41

Or maybe your _main.php is the issue? Your page doesn't allow skin switching and the default skin is nifty_corners, but changing it myself then checking validation of xhtml gave me a handful of errors. I therefore could not test the style sheet. If it was me I'd start by cleaning up the validation issues, as it is likely that will eventually make the visual problem go away.

The problem is different in FF, and doesn't show up here: http://wonderwinds.com/18demo/index.php?blog=1&skin=Kubrick2evo

8 Aug 23, 2006 11:47

Which navigation do you mean?

¥

9 Aug 23, 2006 11:57

the complete navigation of the sidebar is gone when you click to the permalink

12 Aug 24, 2006 07:30

<div id="header"><a href="/"><img src="img/header/8.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a></div>

;)

¥

13 Aug 24, 2006 08:49

<div id="header"><a href="/"><img src="img/header/8.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a></div>

this shows only header 8.jpg
I want to rotate my headers and it already works but I do not want to see this grey line under the header >:( [/quote]

14 Aug 24, 2006 09:12

Your problem is that your <div><img><div> should all be on one line, so you need to amend your php to suit :-

<?
srand(microtime()*1000000);
$bild= rand(1,25);
?>
<div id="header"><a href="/"><img src="http://www.snigles.de/skins/kubrick2evo/img/header/<? echo $bild; ?>.jpg" alt="Die grosse Blog-Community. Blog, Blogger, Blogs" width="760" height="200"></a></div>

¥

15 Aug 24, 2006 14:10

¥åßßå that´s great!!! thanks a lot! :o


Form is loading...