Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Multiple independent genealogies share the main program 6 days 8 hours ago #1

  • nuxiong
  • nuxiong's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 253
Multiple independent genealogies share the main program.
There have been similar posts in the forum, but I did not understand, friends who have the same mind: please give a detailed tutorial, thank you.
My current structure is that there are multiple genealogy websites made by multiple second-level domain names, such as: 1.abc.com, 2.abc.com, webtress programs are all independent, and databases are all independent, so upgrading webtress will upgrade two The main program of this website is very troublesome.

In addition, the current webtrees adds a large number of genealogy to affect reading. If you click on the family tree design secondary menu on the home page to display the genealogy, it will be perfect,I don't need multiple second-level domain names. One main domain name can complete all genealogical functions. @greg

Please Log in or Create an account to join the conversation.

Last edit: by nuxiong.

Multiple independent genealogies share the main program 5 days 4 hours ago #2

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
  • Posts: 2444
Regarding upgrading all subdomains at once, you can probably use symbolic links.
For instance create an installation in /public_html/base. This is the main installation used by all the subdomains.
Then, assuming you have /public_html/1 and /public_html/2 etcetera, create symbolic links for the shared files and folders.
So /public_html/1/index.php points to /public_html/base/index.php, /public_html/1/app points to /public_html/base/app, etcetera.
How to do that exactly depends on the type of access provided by your hosting provider.
I guess it can be done with the CPanel or with bash scripts if you have access to that.

the current webtrees adds a large number of genealogy to affect reading.


My guess is that all the subdomains share one database and table prefix. Give each one either their own database or their own table prefix. Then the data of each subdomain is totally isolated from the others. Is that what you mean?
stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

Multiple independent genealogies share the main program 5 days 4 hours ago #3

  • nuxiong
  • nuxiong's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 253
What I mean is, in the current webtress program, home page, family tree menu, add a secondary menu, let the family tree classification. There is no need for multiple subdomains to achieve genealogical classification. Thank you for your answer.

Please Log in or Create an account to join the conversation.

Multiple independent genealogies share the main program 5 days 3 hours ago #4

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
  • Posts: 2444
Have a look at the demo site: dev.webtrees.net/demo-stable
The top left menu "Family Trees" gives the choice for Greek Mythology and Royal Family.
That is because there is one single database containing these two trees.

It is possible to configure each subdomain to use either its own database or its own table prefix.
Then the trees are completely separated.

For instance greek.webtrees.net is configured with table name prefix greek_ (instead of default wt_)
and royal.webtrees.net is configured with table name prefix royal_
Then the menu "Family Trees" should have no drop-down to switch from one to another.
stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

Last edit: by bertkoor.

Multiple independent genealogies share the main program 5 days 3 hours ago #5

  • nuxiong
  • nuxiong's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 253

Have a look at the demo site: dev.webtrees.net/demo-stable
The top left menu "Family Trees" gives the choice for Greek Mythology and Royal Family.
That is because there is one single database containing these two trees.

It is possible to configure each subdomain to use either its own database or its own table prefix.
Then the trees are completely separated.

For instance greek.webtrees.net is configured with table name prefix greek_ (instead of default wt_)
and royal.webtrees.net is configured with table name prefix royal_
Then the menu "Family Trees" should have no drop-down to switch from one to another.



webtress demo site, click on the family tree on the homepage, and the A menu appears, and then the mouse points to the A menu, and then the family tree appears, which is equivalent to classifying the family tree. The family tree has realized the secondary classification, and there is no need to access the sub-domain name, and one main domain name can make dozens of genealogy.
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by nuxiong.

Multiple independent genealogies share the main program 5 days 1 hour ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14947
You can disable this menu (and the multi-site search).

Control panel -> Website preferences -> Show list of family trees.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Multiple independent genealogies share the main program 5 days 1 hour ago #7

  • nuxiong
  • nuxiong's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 253
After disabling (do not display the genealogy list), where did the multiple genealogy trees of the website go?

Please Log in or Create an account to join the conversation.

Last edit: by nuxiong.
  • Page:
  • 1
Powered by Kunena Forum