Actually now that I think about it, you don't need the IF statement. Duh.
Here's what you do, in the style that you want to use the different postbit, all you do is copy the code from that postbit, into the one your board uses, that's it.
Example:
Forums use postbit_legacy
Therefore, DefaultStyle uses postbit_legacy
However, NewStyle needs to use postbit, but since the Forums are set to use the legacy template, you can't.
All you do is go into the NewStyles postbit template, copy all the code, and paste it into NewStyles postbit_legacy template. Done
How to:
AdminCP>Styles & Templates>Template Manager>(Choose the style you want to edit)Expand Templates> Postbit Templates>
Now, you've got postbit, and postbit_legacy.
If your board uses postbit but you want this style to use postbit_legacy, go into the postbit_legacy, copy it's code, and paste into the postbit template.
If your board uses postbit_legacy but you want this style to use postbit, go into the postbit, copy it's code, and paste into the postbit_legacy template.
|