Well i have found that the error lies someplace within the templates. If the two files are dumbed down it works fine. Still... Does anybody have an idea as to why the code above doesn't work?