1 myplainview Feb 07, 2006 06:36
3 myplainview Feb 07, 2006 16:01
ok the switching of skins is out cause they all need to keep the same style. I am a complete novice at this so I really don't understand the code example you gave. Could you further explain that? Thanks!
4 personman Feb 07, 2006 16:09
Sure, I'll explain it.
Find this part of your _main.php file:
<!-- =================================== START OF MAIN AREA =================================== -->
<img src="468x60.jpg">
<?php // --- START OF POSTS ---
and make it look like this:
<!-- =================================== START OF MAIN AREA =================================== -->
<?php
switch ($blog)
{
case 1:
echo '<img src="image for blog one goes here" />';
break;
case 2:
echo '<img src="image for blog two goes here" />';
break;
}
// --- START OF POSTS ---
What that's doing is checking the value of $blog, which is the id of the blog that is being displayed, then it can display a different image for each blog. Copy and paste to make a new section for each blog, case 3, case 4, etc. If you are going to be having more than ten blogs, then this might get to be a long section. If that's the case, then I have another idea that might work better.
5 myplainview Feb 07, 2006 16:12
ok thank that helps!
I shouldn't have more than 10 blogs at least not for a long while.
I will try that right now.
6 myplainview Feb 07, 2006 16:54
Hey that will work great thanks!
You could use a different skin for each blog. Or you could add some code like this