Hi,
I have a main drupal site, and I would like to offer affiliate co-branding to some other sites: I would like to offer them the possibility to integrate my database into their site. In fact, I would like to display my main site with their design (html and footer header) so they could just add a link to their co branded version and their visitors would navigate it thinking they are still on their site. (I would still host everything). This offers lots of perspectives.
I want any co-brand version to use the same database as the main site: any content added / modified to a co-branded site would affect a same database, in fact only the design is changing from a site to another.

It seems there would be two approaches for doing so with drupal:

1) Multi site configuration:
The problem is that I think different sites cannot share the same database (I'm not talking about pre-fixes and such, I mean REAL database sharing of the same data).

2) Theming
It seems easy to do this with theming, but how to have a theme displayed for visitors coming from co branded sites ? Is there a string to pass to the url or another method ?

Examples and thoughts are welcome.
Brakkar

Comments

Robardi56’s picture

I guess http://drupal.org/project/referer_theme is the perfect solution.

Does anyone got this running so I can have a look at it ?

Thanks,
Brakkar