PDA

View Full Version : How can I make this little change?


yasunari
03-27-2002, 04:59 AM
How to exchange the table 1 and table 2 color without change the firstalttable and secoundalttable color? Thanks!

http://evillage.uhome.net/upload/questionvb.jpg

Admin
03-27-2002, 05:22 AM
In functions.php replace this:
if ($counter%2==0) {
$post[backcolor]="{firstaltcolor}";
$post[bgclass] = "alt1";
} else {
$post[backcolor]="{secondaltcolor}";
$post[bgclass] = "alt2";
}]
with this:
if ($counter%2==0) {
$post[backcolor]="{postfirstalt}";
$post[bgclass] = "alt1";
} else {
$post[backcolor]="{postsecondalt}";
$post[bgclass] = "alt2";
}
Now create two replacement variables, {postfirstalt} and {postsecondalt}, and put whatever you want in there.

yasunari
03-27-2002, 07:43 AM
wo thanks for your help, I got it now :rambo: