Hi,
I'm making a shop module, I've been building for SS3, but a few servers I use won't run SS3, so i'm having to revert a few lines back to SS2.4 code. (eg, forms, datagrid)
I would like the module to work for both - the changes are quite small,
Is there a way of doing something like
IF ($SilverstripeVersion >= 3) {} else { }
so that I could make the code work for both system?