Hello everyone.
I am currently involved the weblogs project based at the University of Prince Edward Island and Holland College on Prince Edward Island. We have set up a drupal install that we have been using for some time to give the students at UPEI a chance to express themselves and create an online community. Drupal has really facilitated this well. Where things start to break down is when we went on board with institution. What we decided to do was to have to drupal installs share the same database so that we are able to share the content between the two installs. We have two domains for the installs
1. http://weblogs.upei.ca
2. http://weblogs.hollandcollege.com
We each of the domains points to the same server but a virtual host allows us to point them to their separate folders, where their different themes and their drupal code is stored.
The problem we are running into is that whenever you type either of the two above listed web addresses, you are never guaranteed which version will come upe. Sometimes you can type http://weblogs.upei.ca and the Holland College theme will come up with the UPEI address and sometimes you can do the exact opposite. We are unsure why this problem occurs and were wondering if anyone on the forum could shed some light on this situation.
Thank-you for any help you can offer.
Comments
Sharing The Content?
I am a little confused. You have two different websites for two different institutions - but wish to share common content?
1. 4.6.0 will handle multi-site with a single installation, but whether or not you can share content, I am not too sure.
2. What one might want to do is use a single installation with user accounts that are limited to one template or the other, depending on their affiliation. That would allow for identical content to appear but, from the users point of view, the site would look the way it should and they would be able to talk together and represent their own college/school.
I don't know why you would want to share the same content, but I don't know the organizational heirarchy - so, it might make sense from students point of view. Wouldn't each institution want to keep its own identity with the content?
;-)
Either way, does that help at all?
---
Shane Birley
Left Right Minds
https://www.leftrightminds.com
Share content
Maybe the best way to this from what i can read out of your problem is the following:
2 different Databases (of course on the same server) one for each URL.
Then use Drupal Filter Module to create external URL-sites in either Site pointing to the wanted content in the URL. Also see Help pages on Filter modul.
This might need some php coding but have a look here on the site or tackle someone with php experience.
Hope this helps.
Michael
Sharing the content
The goal of our program is to create an online community between education institutions across our province. We have our two higher education institutions onboard and we will eventually want to go to the highschools as well. Sharing the content is quite important to us. We do have two different themes for the two sites but we don't know why they aren't showing up when u go to their respective URLs. We also don't want to limit the students from one institution from going on the other institution's site.
Sharing the content
Did you read my former answer?
Just a question?!?
And maybe give us an outline which URL or community or site you want to share with each other. Take into consideration, that what is residing in one DB and the same DB is used for various URL's the same content is bound to pop up.
Submisson of files .\htaccess, Index.php, conf.php is welcome.
So some more details of your setup prior to given answers is a key point.
Michael
Hi Faxman.
Hi Faxman.
I thought I outlined that in my first post? I want to the upei site (http://weblogs.upei.ca) and the holland college site (http://weblogs.hollandcollege.com) to share information between each other. I do want to have the same content on both sites, just not the same theme. The themes in each of the theme folders in the two different site folders are different but they are named the same so that the database can access them both based on the url it is pointing to.
Does this clarify?
hi jdoiron you have done a
hi jdoiron you have done a useful work to college students. it will help them to update their knowledge. your two webblogs are simply great and fabulous.
===========
Brook
prince edward island drug rehab
This could be cache related.
This could be cache related. You should not share the cache table between sites.
--
If you have troubles with a particular contrib project, please consider filing a support request. Thanks. And, by the way, Drupal 4.5 does not work with PHP 5.
--
Drupal services
My Drupal services
In your conf.php file (I
In your conf.php file (I assume you are running older code) you can manually specify the active theme -- not the crazy virtual host way you are doing it. If I read correctly, you have shared the entire database. The database actually stores which theme is active, so you need to override this in conf.php.
I understand what you are trying to accomplish, but sharing *all* of the content is going to run into trouble. Ideally, you allow the communities to interact by having, for example, a shared user table (although you could just use the built in Drupal module to allow them to log in to either in). At the end of the day, a Drupal site per community, plus ways to connect content between the two is going to be a better, more robust solution.
Hi Boris.
Hi Boris.
What is the code to set the template in your conf.php file?
Thanks
Fixed
Hi Guys.
Well after much reworking, it seemed that the only problem is that instead of having our UPEI site and Holland College site being on the same level of our www folder, we had to put the Holland College folder underneath the UPEI folder and everything seemed to fix itself. Thanks for all your help.
hi jdoiron you have done a
hi jdoiron you have done a useful work to college students. it will help them to update their knowledge. your two webblogs are simply great and fabulous.
===========
Brook
prince edward island drug rehab