Multiple templates - one app

A

Agazoom

Hi everyone,
Rails newbie here so forgive the question if the answer is ridiculously
obvious.

I am trying to write an app that meets the following requirements. I'd
like to do it in Rails, but having pored over documentation for that
past couple of days, don't even know whether it's feasible or not.
Basically:

* One codebase
* multiple domains
* each domain will have the same base functionality, but the look and
feel will be determined based on a selection of templates

To summarize, I would like a system whereby people can sign up for a
site, pick their domain name, everyone gets the same functionality, but
they can choose from a selection of provided templates and customize
the look and feel of their site.

if it is possible, can you point me in the right direction?

Thanks ... your comments are appreciated.
 
A

Agazoom

I'm still not sure whether this allows me set up a different theme per
domain name.
 
J

Jan Svitok

I'm still not sure whether this allows me set up a different theme per
domain name.

Just an idea, possibly plain wrong: maybe be it's possible to do by
playing with url rewriting/proxying - try to setup all domains to
point to the same rails app, and pass the domain name as a parameter.
Still I'm not sure about this, as rails likes to know what its base
url is, to be able to generate proper links.

J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,209
Messages
2,571,089
Members
47,689
Latest member
kilaocrhtbfnr

Latest Threads

Top