Thanks for that, but which file exactly should I put the code into in the templates section