I have read everything I can find on multi site but I cannot find an explanation or snippet on how to do the following.

User(realtor, appraiser) comes to main site and creates account.

Then they create a "drupal site" in create content.

User then uploads images and chooses set CCK fields.

"Drupal Site" nodes and sub-domain are created.

I have read every multi-site post I could find as well as everything google could find. Everything I read talks about hand coding folders on my host. There are conflicting tutorials, postings and work arounds.

Here are my questions:

1.) Is there a way to set this up with the proper settings in the modules? How is it done?
2.) If not is there a snippet of code I can use to automate this process?
3.) If yes could someone please point me in the right direction?

I know there are a number of sites that are Drupal based doing this exact function. Onsugar.com has an amazing interface for this exact situation. Unfortunately their post says they started in 4.x and hand coded the core immensely. I appreciate all of the help.

Comments

dman’s picture

http://drupal.org/project/druplet
-does this.
However there are security issues with allowing a web script to bootstrap and write to its own configuration files, so you need to address that on your own host. This is also one reason why this approach is not appropriate for out-of-the-box configurations.
Druplet is intended for quick demo sites, so needs hardening.

I'm not sure what you intend by

User then uploads images and chooses set CCK fields.

I believe the druplet node type can be extended with extra fields.

You need more host-specific configs to support domain name wildcarding etc, but it can be done - if you have control of the host.

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |

will_kelly’s picture

Thank you for the link.

The project we are working on is to help a brokerage organize their listing content. They desire to have the content all in one place with different levels of access and low maintenance.

In an effort to create some value we were trying to build in a property website creator from the data to help them with client relations, marketing, etc.

Our intention is to have them upload photos and create a listing page. The CCK would allow them to choose some standard features, enter price, address, etc. The CCK would then play into the node creation for the "property site" and an "agent's listing site". There could be domains pointed to these individual or group sites.

At this point we were looking to add it as a separate site to a hosting account they use through Godaddy.

I want to qualify my role. I am a business developer and consultant. Not a coder. I have built a number of sites in dreamweaver, frontpage & Iweb(personal family stuff w/wife). I stumbled onto drupal and fell in love. The listing organization site I can produce easily with a few modules. The entrepreneur in me said that if I could do these other few features then I would have a marketable product with huge expansion capabilities because it is drupal based. I guess I need to open this project up for a bid and see what the enhancements will cost and pay a professional.

Do you have any recommendations for how we should go about creating this so that it is seamless? Is drupal not the right CMS for this type of application? Would you be interested in helping with this project?

dman’s picture

I can't quite tell from your description why you need to create lots of individual 'sites' rather than one cohesive one, or a portal.
Although making a decent site is pretty straightforward, making a site that makes decent sites is exponentially trickier. I'm not sure if that objective is right for you.
Probably better to keep it in one package and layer on user management roles and access control to allow you to administer it centrally. There's plenty you can customize, even within the same framework.
Duplicating entire CMS databases for one-off projects should make you pause for thought. I mean, how much content can there be in each site?

I do actually have a Property listing site on the back-burner, but it's more a straightforward classifieds style than ... whatever you are proposing.
... I got distracted by trying to find out a unified schema for describing 'listings' within the industry. It got dirty.

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |