Web based family history software

Question How to set a specific landing page when member logs in?

  • Franz Frese
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 months 3 weeks ago - 3 months 3 weeks ago #1 by Franz Frese
@ jessi
you can give the login - page a query string. the query-string can be any url (of your site) and must be url-encoded. So you can reach every page of your site.

the query string depends on if you have pretty urls enabled or not.
example 1 :
Code:
https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Flogin%2Fdemo&url=https%3A%2F%2Fdev.webtrees.net%2Fdemo-stable%2Findex.php%3Froute%3D%252Fdemo-stable%252Ftree%252Fdemo%252Findividual%252FI10052%252FPrincess-Louise-of-Saxe-Gotha-Altenburg
example 2:
Code:
[url]https://dev.webtrees.net/demo-dev/login/demo?url=https%3A%2F%2Fdev.webtrees.net%2Fdemo-dev%2Ftree%2Fdemo%2Findividual%2Fi9079%2FDuke-Alexander-of-Wurttemberg[/url]
p.s.: if you give your site, I'll give you an example. (cause there are users that could not interpret <site> the correct way.)
 
Last edit: 3 months 3 weeks ago by Franz Frese.

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

More
3 months 3 weeks ago #2 by jessi
Thank you so much for your guidance, Franz! This sounds encouraging. Pretty URLs are of course really nice although I don't believe I have them enabled on the webtrees site.

I'm still not quite sure how to parse the exact URL upon signing in for reaching the specific person/branch within webtrees, so your further help is much appreciated.
Two things: (1) my website(s) are still in beta mode (2) the webtrees "backend" site is a "members only" one.

Nonetheless, maybe the following will be sufficient to show me how:
The front-end is jenetix.net - there you can click  the menu item "Family Names" to see the main stems arranged as tiles. Only for one of these tiles ("Wedemeyer") I added a specific URL that links to the person I want to show in the webtrees backend ( jenetix.genonline.de/tree/kellerhoff/ind...-Christian-Wedemeyer ) after a member signs in. All other tiles are still without reference to a specific person in the webtrees "backend" ie.  jenetix.genonline.de/

Thanking you in advance for further help here.

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
3 months 3 weeks ago #3 by bertkoor
Your site is "members only" ?? Then I don't think you need serious alterations in code.

All members have a 'My' page, which is similar to the 'Home' page (which no one sees since you don't allow visitors) so it is configurable with blocks.

After a user is created, make sure you set the default individual for that user, and use the 'masquerade as...' feature from the control panel. Then you can edit 'My Page' and configure it with blocks, for instance a block with a fan chart of ancestors, or tree view of decendants.

stamboom.BertKoor.nl runs on webtrees v2.1.20

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

  • Franz Frese
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 months 3 weeks ago #4 by Franz Frese

...
Nonetheless, maybe the following will be sufficient to show me how:
The front-end is jenetix.net - there you can click  the menu item "Family Names" to see the main stems arranged as tiles. Only for one of these tiles ("Wedemeyer") I added a specific URL that links to the person I want to show in the webtrees backend ( jenetix.genonline.de/tree/kellerhoff/ind...-Christian-Wedemeyer ) after a member signs in. All other tiles are still without reference to a specific person in the webtrees "backend" ie.  jenetix.genonline.de/
...
so use ( click here )
Code:
https://jenetix.genonline.de/login?url=https%3A%2F%2Fjenetix.genonline.de/tree%2Fkellerhoff%2Findividual%2FI608%2FKonrad-Christian-Wedemeyer
 

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

More
3 months 3 weeks ago #5 by jessi
Works perfectly! Just what I was looking for.
Vielen Dank, Franz

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

More
3 months 3 weeks ago #6 by jessi
Thanks Bert.

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

More
1 month 3 weeks ago #7 by jbldn1982
Thank you - is there any way to change this default behaviour? I also have a family member only site but I want the family members to land on the homepage after they logged in. For now they have to click the little house symbol. Thanks a lot!

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

  • JustCarmen
  • Away
  • Elite Member
  • Elite Member
More
1 month 3 weeks ago #8 by JustCarmen

Thank you - is there any way to change this default behaviour? I also have a family member only site but I want the family members to land on the homepage after they logged in. For now they have to click the little house symbol. Thanks a lot!
This module does just that:  github.com/miqrogroove/family-tree-home


Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar, Fancy Research Links and Fancy Treeview for webtrees 2


Check my website at www.justcarmen.nl

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

More
1 month 3 weeks ago #9 by jbldn1982
Great, thank you so much.

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

Powered by Kunena Forum