Score:0

How do I display a tour on a node?

ph flag

On a Drupal 9 site, I installed the Tour and the Tour UI modules, and created a node.

How can I configure the Tour UI to show a tour on that node?

I don't know what to put in Module name and Routes.

screenshot

Score:0
fr flag

The help text shows you what to put in the "Routes" box:

entity.node.canonical
- node:3

The Tour UI helps you create a Tour, but that Tour will be saved as a YAML file in your own custom module. Or I guess you could also add a tour to an existing module. Either way, you need some place to put the tour code. Most sites have a custom module to hold site-specific customizations of Drupal. So yes, you should be able to use "node" here if you want.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.