Tried to solve layout template problem, when Typo3 4.2.x has been installed into subfolder/used sub domain.
Made some changes for tm_tvpagemodule ver. 0.2.8. If you use tm_shared_lib, tm_contentaccess and tm_tvpagemodule, use latests versions.