Web based family history software

Question location linking

  • Franz Frese
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
1 year 9 months ago #1 by Franz Frese
location linking was created by Franz Frese
I'd like linking to a map page rather than to the page already there:

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

More
1 year 9 months ago #2 by Marky
Replied by Marky on topic location linking
Probably a bug!

I'm still using 2.1.12 and it does link to the map and place list.

webtrees v2.1.21
PHP v8.3.12

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

More
1 year 9 months ago #3 by ddrury
Replied by ddrury on topic location linking
The latest code does link to the place hierarchy.and there doesn't seem to have been any changes to this code since 2.1.12.

What version are you using? Have you tried disabling any third party modules?

--
Dave

Local: Win 11 Pro, WSL2/Ubuntu20.04.4, Apache 2.4.51, PHP 7.4.26/8.1.7, MySQL 8.0.27
Production: Litespeed 8.0.1, PHP 8.1.9, MySQL 8.0.26

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

More
1 year 9 months ago #4 by fisharebest
Replied by fisharebest on topic location linking
The place name will link to the place-hierarchy-list (module).

But, if this module is disabled, then there is no link.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • Franz Frese
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
1 year 9 months ago - 1 year 9 months ago #5 by Franz Frese
Replied by Franz Frese on topic location linking
Why is the module in demo-stable disabled?

As you can see, the screenshot is from "demo stable" : dev.webtrees.net/demo-stable/index.php?r...stable%2Ftree%2Fdemo
Last edit: 1 year 9 months ago by Franz Frese.

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

More
1 year 9 months ago #6 by fisharebest
Replied by fisharebest on topic location linking
> Why is the module in demo-stable disabled?

It is set to "show to members".

Why? I don't remember. I created the site a long time ago. Perhaps I wanted to demonstrate different functionality.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • Franz Frese
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
1 year 9 months ago - 1 year 9 months ago #7 by Franz Frese
Last edit: 1 year 9 months ago by Franz Frese.

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

  • Franz Frese
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
1 year 9 months ago #8 by Franz Frese
Replied by Franz Frese on topic location linking
Es sollte keine Abhängigkeit zwischen der Aktivierung (Zulassung) eines Moduls und dem Vorhandensein (bzw. dem Funktionieren) einer Verknüpfung bestehen.
Ich bin der Meinung, dass das geändert werden sollte.
There should be no dependency between the activation (permission) of a module and the existence (or functioning) of a link.
I think that should be changed.

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

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 9 months ago #9 by norwegian_sardines
Replied by norwegian_sardines on topic location linking
Franz,

I think the module is where the link ends up! If you don’t have permission to use the module or if the module is not activated, then the “landing point” for the link is not allowed or does not exist!

Ken

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

  • Franz Frese
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
1 year 9 months ago #10 by Franz Frese
Replied by Franz Frese on topic location linking
For me enabling/disabling the module is only the visibility of the entry in the menu.
If there is another methode of hiding the menu entry: ok.

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

More
1 year 9 months ago #11 by fisharebest
Replied by fisharebest on topic location linking
Every menu item has a unique CSS class.

You can use this to hide the menu. e.g.

.menu-xxx-yyy { display none; }


Note: CSS classes that begin with `wt-` are mostly permanent. I try not to change these - even if the HTML structure changes.

Other class names may change in future versions.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • Franz Frese
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
1 year 9 months ago #12 by Franz Frese
Replied by Franz Frese on topic location linking
perhaps you can help me with inserting .menu-list-plac { display none; }.

I tried within the header with the css-js module without visible result !

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

More
1 year 9 months ago #13 by fisharebest
Replied by fisharebest on topic location linking
Did you add the style tags?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • Franz Frese
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
1 year 9 months ago #14 by Franz Frese
Replied by Franz Frese on topic location linking
yes.
I inserted before the already existing </style>
you can see at freris.de

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

More
1 year 9 months ago #15 by fisharebest
Replied by fisharebest on topic location linking
You have "display none".
You need "display: none".

Note the missing ":"

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • Franz Frese
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
1 year 9 months ago #16 by Franz Frese
Replied by Franz Frese on topic location linking
thx working : (missing in your post above)

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

Powered by Kunena Forum