Hi
I have a client that wants the following :
1. Single DNN installation, with multiple portals
2. One of these portals will be a central knowledge base, from which we will pull rss feeds of articles published there into the other portals.
My problem is this - the other portals will have unique identites (even though they are all in the same line of busines, they are independant brokers and want ownership of articles they publish and of their brand). As a result, we want to allow users to search the central knowledge base site from these other portals, but retain the originating sites identity through changing the css file the skin references, based on parameters passed through from the originating site.
What I want to do, is set the css file that the skin references, based on the url used to access the knowledge base site.
Setup would be as follows :
site1.com, site2.com and site3.com all have a search form that posts the search query to the knowledgebase site (call this know.com for this example).
know.com will have various http aliases, such as site1.know.com, site2.know.com and site3.know.com
What I want to do is change the css file used by the skin, based on the querystring passed by the search form
eg. a search from site1.com would send a querystring to site1.know.com - something like http://site1.know.com?query=testarticle&sid=1
sid would denote what css file to use.
Can anyone tell me how I would add a script in asp.net like this to my skin.ascx file, so that is changes the css file to site1.css when sid=1, and to site2.css if sid=2 and so on ?
I have attached a sample I found in asp (from csszengarden.com), but I am not sure how to implement this into a DNN skin.
Thanks in advance