I'm building a DNN site that will both stand alone on the web and be placed inside an iFrame on multiple other customers websites. (think re-branding).
When inside an iframe, in a customer's site, I want my site to use a different, cleaner theme than the stand alone version with my header and footer hidden. I'm calling that the "insider" theme.
I have made the insider theme successfully. I am building the iframe tag that will be used in my customer's site with a query string parameter that sets the iframe contents to use my "insider" theme.
Here is the problem.
When the customer page loads, the insider theme is used and looks nice. But when the user clicks a link on my insider page, the contents of the iframe appropriately change to show the desired page (still inside the iframe) but the target page is not picking up the iframe's query string parameters and so is not showing my insider theme anymore.
So the questions are:
How do I get the iframe's query string parameters to be applied to all the pages that may be shown inside the iframe even when the user navigates among them inside the iframe?
Or is there another way to set this up that would work better. For example, I have considered creating another portal that would simply duplicate the first one but use the insider theme. However what is holding me back on that plan is I am using the user management that DNN provides and would need the users and related information to be duplicated across portals perfectly. Can that be arranged?
Another idea instead?
Thanks in advance for your help and ideas!