Bienvenue, Invité
Nom d'utilisateur : Mot de passe :


Please do NOT post requests for help here. Use the Help forum for that.

SUJET : Link input to external website

Link input to external website il y a 2 mois 1 semaine #1

  • user_5359
  • Portrait de user_5359
  • Hors Ligne
  • New
  • Messages : 3
I used the current version 2.0.0-alpha.4.

Is it possible to enter a link to an external website? For example, a link to a descriptive Wikipedia page. I was only able to do this in the Address field of an event if I entered the HTML code. Is this an error or a feature?
I would find a principle input for an external weblink (and the corresponding description) useful.
L'administrateur a désactivé l'accès en écriture pour le public.

Link input to external website il y a 2 mois 1 semaine #2

  • ungeahnt
  • Portrait de ungeahnt
  • Hors Ligne
  • New
  • Messages : 29
Hi,

with wtV1.7 I use the following two options:
  • Add a HTML block and insert your link here ("control panel -> manage family tree -> Change the ‘Home page’ blocks"). E.g. wiki-link in the sidebar.
  • Use the custom modul "vytux menu2"

May the "vytux menu" is not compatible with wt V2, but the HTML block should work.

See also the webtrees-wiki about HTML-Blocks

Regards
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 1.7.12 | PHP 7.3.0 | MySQL 5.6.42 | Apache 2.4.37 | SunOS 5.10
Dernière édition: il y a 2 mois 1 semaine par ungeahnt. Raison: link to webtrees-wiki
L'administrateur a désactivé l'accès en écriture pour le public.

Link input to external website il y a 2 mois 1 semaine #3

  • bertkoor
  • Portrait de bertkoor
  • Hors Ligne
  • Gold
  • Greetings from Utrecht, Holland
  • Messages : 1524
Html blocks are for the home page, not for referral from events. In fact you use wikipedia as a source of data about facts & events.

You could create one "Source" object named "wikipedia". Then in the events refer to "wikipedia" as the source. Paste the full url of the page in "citation details". It should rende r a clickable link. You might have to flip the "markdown" setting in the Control Panel to get a clickable link. Should also work in notes btw...

An example on the demo site:
dev.webtrees.net/demo-stable/individual.php?pid=i47&ged=demo
stamboom.BertKoor.nl runs on webtrees v1.7.9
Dernière édition: il y a 2 mois 1 semaine par bertkoor.
L'administrateur a désactivé l'accès en écriture pour le public.

Link input to external website il y a 2 mois 1 semaine #4

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrator
  • Messages : 10909
> You could create one "Source" object named "wikipedia".

IMHO, this is the best solution.

I also have a source called "The Internet" - I use for all sorts of random stuff that I find while browsing.

I can then use the source as a "to do list" for things that I need to research properly (!)
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net
L'administrateur a désactivé l'accès en écriture pour le public.

Link input to external website il y a 2 mois 1 semaine #5

  • ungeahnt
  • Portrait de ungeahnt
  • Hors Ligne
  • New
  • Messages : 29
ops! Sorry, I missed the point. I've thought that a 'static' link is needed.
Dieter
Schmidt ⚭ Schwab (Sudetenland) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (BG)
webtrees 1.7.12 | PHP 7.3.0 | MySQL 5.6.42 | Apache 2.4.37 | SunOS 5.10
L'administrateur a désactivé l'accès en écriture pour le public.
Propulsé par Kunena