How to share database files between two site www.mysite.com and www.en.mysite.com

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/3/2010 3:20:03 AM
Gravatar
Total Posts 55

How to share database files between two site www.mysite.com and www.en.mysite.com

Hi all,

 

How can I share database files for two site, I have one site but in two language, so I have to make

one domain and sub domain mysite.com and en.mysite.com.. but I have some controls which have to

share database files, registered users also, when i register in mysite.com I must be registered automatically

in en.mysite.com..

I need to be shared Forum, Blog Poll and some control...

How can I do this? 

 

Thanks

 

P.S. Answer of this question would be great help for beginner developers as I am... :) 

8/5/2010 2:27:47 AM
Gravatar
Total Posts 55

Re: How to share database files between two site www.mysite.com and www.en.mysite.com

do I am asking too stupid question??

8/5/2010 6:11:17 AM
Gravatar
Total Posts 18439

Re: How to share database files between two site www.mysite.com and www.en.mysite.com

Hi,

mojoPortal can host both sites in a single installation and therefore you would be using the same database.

http://www.mojoportal.com/video-hosting-multiple-sites-based-on-host-name.aspx

http://www.mojoportal.com/muliplesites.aspx

But, the mojoportal multi sites feature is not designed to share content between sites. Sites have independent content. It is possible to share users and roles between sites but not content.

Best,

Joe

8/8/2010 12:10:55 PM
Gravatar
Total Posts 55

Re: How to share database files between two site www.mysite.com and www.en.mysite.com

Thank you Joe

You must sign in to post in the forums. This thread is closed to new posts.