Bienvenue, Invité
Nom d'utilisateur : Mot de passe :
Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.
  • Page :
  • 1

SUJET :

vytux-pages and webtrees 2 il y a 8 mois 4 semaines #1

  • mp
  • Portrait de mp Auteur du sujet
  • Hors Ligne
  • Membre senior
  • Membre senior
  • Messages : 289
Does anyone know how to create additional information pages and a menu entry to select these pages in webtrees 2?

The add-on vytux-pages, which I use for this purpose so far (see menu entry "Info" on my page ), is not (yet) available for webtrees 2. If it remains like this, it would be a pity, as it is quite practical and easy to handle.

Or would someone have the knowledge to make this add-on fit for webtrees 2 or could help me with it?
Martin - ffp.bauschaffen.de

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 8 mois 3 semaines #2

in the examples of modules inside the modules_v4 folder there is one that basically does this.

* translated by Google

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 8 mois 3 semaines #3

Thanks for this question!
I am also missing this tool I used in wt 1.7x.
www.helmutpaul.at / www.paul-engl.at / www.komoot.de/user/anjop
----
webtrees 2.0.15; theme: colours; modules: Vesta Classic Look & Feel; Fancy Imagebar; Theme modifications (by Rob Peters);
PHP Version 7.4 (8.0 would be available by provider); mySQL 4.9.7; Mac OSX 10.15.7 with Safari

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 7 mois 4 semaines #4

in the examples of modules inside the modules_v4 folder there is one that basically does this.

* translated by Google

which one do you mean?

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 7 mois 3 semaines #5

Maybe this helps:

github.com/JustCarmen/webtrees-simple-menu

note: I make this module available as is. This means that I do not offer support on this module. Isn't it working for you? Then you're out of luck. I made it because I need it myself and everyone else can benefit from it.

Carmen
Designer of the JustLight theme and Fancy Imagebar for webtrees 2.x


Also designer of the JustBlack theme and the other Fancy modules for webtrees 1.x

Check my website at www.justcarmen.nl

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 7 mois 3 semaines #6

  • mp
  • Portrait de mp Auteur du sujet
  • Hors Ligne
  • Membre senior
  • Membre senior
  • Messages : 289
Thank you very much. In a first test it works perfectly.

Maybe with this code basis I can perspectively adjust vytux-pages (several subpages in one menu).
Martin - ffp.bauschaffen.de

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 5 jours #7

The meta tag <meta name="robots" content="noindex"> is set by default. Is it possible to change this?

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 5 jours #8

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14636

The meta tag <meta name="robots" content="noindex"> is set by default. Is it possible to change this?


It is set by default, because most pages should not be indexed.

e.g. charts duplicate data on other pages, reports are expensive to generate, the calendar generates an infinite number of links, etc.

So it is only set to "index" on pages that should be indexed. For example, the genealogy records and the home page.
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

Connexion ou Créer un compte pour participer à la conversation.

Avez-vous besoin d'une solution d'hébergement web pour votre site webtrees ?
Si vous préférez un hébergeur spécialisé de webtrees, la page suivante en liste quelques-uns capables de vous offrir ce type de service :

vytux-pages and webtrees 2 il y a 5 mois 5 jours #9

  • mp
  • Portrait de mp Auteur du sujet
  • Hors Ligne
  • Membre senior
  • Membre senior
  • Messages : 289
I think in the Justlight theme the meta.phtml doesn't work quite as desired.

github.com/JustCarmen/webtrees-theme-jus...outs/head/meta.phtml
Martin - ffp.bauschaffen.de

Connexion ou Créer un compte pour participer à la conversation.

Dernière édition: par mp.

vytux-pages and webtrees 2 il y a 5 mois 5 jours #10

I changed line 10 of that file in
<meta name="robots" content="<?= e($meta_robots ?? 'index,follow') ?>">.

In general: Would it be an idea to let the user decide, whether or not a paged should be crawled and indexed? Imho the main traffic is caused by the bad bots not observing meta tags at all.

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 4 jours #11

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14636
> In general: Would it be an idea to let the user decide, whether or not a paged should be crawled and indexed?

Which additional page(s) would you like crawled?

(Note also that the robots: index/noindex: logic is mirrored by the sitemap module.)

> Imho the main traffic is caused by the bad bots not observing meta tags at all.

The pages with "noindex" are also designed so that bad bots cannot fetch them.

They load in two phases - the initial page loads with no content, and then javascript is used to load the actual content.

Since bad bots don't execute javascript, it means that

(a) bad bots just get an empty page that is cheap to generate
(b) real users get a faster response on these pages
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

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 4 jours #12

> In general: Would it be an idea to let the user decide, whether or not a paged should be crawled and indexed?

Which additional page(s) would you like crawled?

(Note also that the robots: index/noindex: logic is mirrored by the sitemap module.)

> Imho the main traffic is caused by the bad bots not observing meta tags at all.

The pages with "noindex" are also designed so that bad bots cannot fetch them.

They load in two phases - the initial page loads with no content, and then javascript is used to load the actual content.

Since bad bots don't execute javascript, it means that

(a) bad bots just get an empty page that is cheap to generate
(b) real users get a faster response on these pages


I have no problems with traffic on my Strato account, so all pages may and should be indexed.

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 4 jours #13

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14636
The charts, reports, calendar, etc. pages contain just this:
<h2>Pedigree chart for John Doe</h2>
<div data-url="https://url-to-generate-embedded-chart"></div>

If you allow google to index these pages, it will see your site with 1000s of empty pages with just header, title and footer.
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

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 4 jours #14

  • mp
  • Portrait de mp Auteur du sujet
  • Hors Ligne
  • Membre senior
  • Membre senior
  • Messages : 289
Hi Greg, I suspect that the variables $meta_robots and $meta_description are not being used correctly in the Justlight theme. What is missing at the beginning of the meta.phtml under "use"?
Martin - ffp.bauschaffen.de

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 4 jours #15

I kindly ask to include additional pages

github.com/JustCarmen/webtrees-simple-menu.

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 4 jours #16

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14636

Hi Greg, I suspect that the variables $meta_robots and $meta_description are not being used correctly in the Justlight theme. What is missing at the beginning of the meta.phtml under "use"?


Perhap this line needs to pass the (optional) meta-robots variable to meta.phtml?

github.com/JustCarmen/webtrees-theme-jus...ts/default.phtml#L32
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

Connexion ou Créer un compte pour participer à la conversation.

vytux-pages and webtrees 2 il y a 5 mois 4 jours #17

Greg, you are right. I forgot to include some variables. I see an issue is filed at Github. This is indeed a bug. I will update the code.

github.com/JustCarmen/webtrees-theme-justlight/issues/70

Carmen
Designer of the JustLight theme and Fancy Imagebar for webtrees 2.x


Also designer of the JustBlack theme and the other Fancy modules for webtrees 1.x

Check my website at www.justcarmen.nl

Connexion ou Créer un compte pour participer à la conversation.

  • Page :
  • 1
Propulsé par Kunena