As others have said, TOR takes place thousands of years before the movies.
But it's also important to note that the movies will always be their own entity. Always seperate from novels, comic books, video games, and TV shows. Although George Lucas does sometimes work very close with these productions.