
03-24-2006, 04:07 PM
|
|
|
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by |oR|Greg
What if you put an if statement inside the template to determine the style used, then use the appropriate code, so you'd have both the code for the regular, and the legacy inside one template.
If styleid = 5 then use postbit code
else
use postbit_legacy code
This way you could also have more then 2 postbit styles as well, make your own, it would all be dependent on the ifs and elses...
Update:
I tested it, and it works. I made a second style, since I use the postbit_legacy, I copied the postbit code into the legacy template above it, and wrapped it with an if statement. Actually now that I think about it, you don't need the else with the postbit_legacy code since the if statement will always work as long as you supply the correct styleid.
|
oh wow that's awesome Greg! Problem is, I don't know how to create an if statement. Would you be willing to pm me the code that you placed into the template?
thanks hun!
|