Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292410

Tour tips not appearing when creating custom tips

$
0
0

I try to create a Tour tip for the Create Basic page node form and I'm following the instructions from the Tour API documentation.

After creating a tour.tour.add-page.yml file (see code block below) in the folder core > modules > node > config I load http://example.com/node/add/page to see the tips. But the tour button is not appearing, and no tips are visible. It seems that the path and ids are correct.

What are the necessary elements in the yml file for activating for the Tour tips?

Contents tour.tour.add-page.yml file:

id: add-page
module: node
label: test tour
langcode: en
paths:
  - node/add/page
tips:
  edit-log:
    id: edit-log
    plugin: text
    label: This is the revision log message field
    body: Draught parrel Arr squiffy gangplank hulk fire ship coxswain lanyard aft. Scallywag hands coxswain salmagundi jolly boat long boat Barbary Coast chandler bucko matey. Wench boom nipper Shiver me timbers fluke bilged on her anchor bilge lateen sail gunwalls belaying pin.
    weight: "1"
    attributes:
      data-id: edit-log
  edit-preview:
    id: edit-preview
    plugin: text
    label: This allows you to preview your work
    body: Capstan Blimey take a caulk Privateer Jack Tar hardtack pillage scurvy ballast Barbary Coast. Warp walk the plank take a caulk trysail matey yawl hogshead starboard scuttle bucko. Cat o'nine tails rope's end square-rigged gunwalls sloop trysail yo-ho-ho grapple gibbet rutters.
    weight: "2"
    attributes:
      data-id: edit-preview

Viewing all articles
Browse latest Browse all 292410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>