.htaccess hasn't got anything to do with this per se. When being viewed from an iframe I suggest the URL to contain an additional GET parameter "?iframe" and if that parameter is detected Open Realty is forced to another template. If adding GET parameters is impossible in existing iframes, would be to use some JavaScript like `if ([login to view URL] != [login to view URL]) reload_to_iframed_version();` so, let me know if you're interested.