I did a fresh install to be sure.

I click on the welcome tour, it works well. For me only those tours are not started, that are with paths like mynode/oa_space/group.
It loads the page, but the tour is not starting. So I'm redirected to the correct page, but the tour steps are not showed. If I set the path to it starts, like the Welcome tour.

The situation is the same if I import my own tours.

Thank you

Comments

mpotter’s picture

Can you be more specific about which Tours are not working?

Some of the Tours require an existing Space, so if you don't have any spaces yet it will send you to the page to create a space.

If your custom tour doesn't work then somehow either the URL is wrong or the CSS selector is wrong. If you can post a simple example Tour that doesn't work along with the details of it's step we might be able to help more.

(Also, check your Console log in your Browser for any javascript error messages)

joevagyok’s picture

I give you a basic tour based on oa_tours_default.
My console only told me to install colorbox libary, could be related?

{
  "title" : "Section Visibility",
  "name" : "et_section_visibility",
  "description" : "This walks the user through the basics of more specific permissions per section.",
  "roles" : "2",
  "autorun" : "0",
  "start_path" : null,
  "enabled" : "1",
  "field_bootstrap_tour_spaces" : [],
  "steps" : [
    {"path":"node\/add\/oa-section","selector":".pane-node-field-oa-group-ref .pane-title","placement":"left","title":"Section Visibility","content":"\u003Cp\u003EAs the space admin, you have the ability to determine exactly who has access to your section and the content within.\u003C\/p\u003E\u003Cp\u003E(Curious about sections, visit the \u003Ca href=\u0022oa-section?tour=et_sections_overview\u0022 target=\u0022_blank\u0022\u003ESections Overview Tour\u003C\/a\u003E first.)\u003C\/p\u003E","content_text_format":"panopoly_html_text"},
    {"path":"","selector":".form-item-field-oa-group-ref-und","placement":"left","title":"Groups","content":"\u003Cp\u003EA group is a collection of users that span a related purpose across multiple spaces. (For example, a group for a company\u0027s leadership.)\u003C\/p\u003E\u003Cp\u003EYou can select any relevant groups that would need private access to this section or leave it blank to allow all authenticated space members access to the content.\u0026nbsp;\u003C\/p\u003E","content_text_format":"panopoly_wysiwyg_text"},
    {"path":"","selector":".form-item-field-oa-team-ref-und","placement":"left","title":"Teams","content":"\u003Cp\u003ETeams are an ad-hoc collection of users specific to one space. (For example, a product launch team.)\u003C\/p\u003E\u003Cp\u003EYou can select any relevant teams that would need private access to this section or leave it blank to allow all authenticated space members access to the content.\u0026nbsp;\u003C\/p\u003E","content_text_format":"panopoly_wysiwyg_text"},
    {"path":"","selector":".pane-node-field-oa-user-ref","placement":"left","title":"Individual Users","content":"\u003Cp\u003ELastly, you can identify individual users that would require access to this space.\u003C\/p\u003E","content_text_format":"panopoly_wysiwyg_text"},
    {"path":"","selector":".pane-node-field-oa-group-ref .pane-title","placement":"left","title":"Section Visibility","content":"\u003Cp\u003ESections can become private through any combination of groups, teams, and users. This allows for incredibly granular permissions across your site, spaces, and sections.\u003C\/p\u003E\u003Cp\u003EYou can also continue by taking our \u003Ca href=\u0022\/?tour=et_groups\u0022 target=\u0022_blank\u0022\u003EGroups Tour\u003C\/a\u003E.\u003C\/p\u003E","content_text_format":"panopoly_wysiwyg_text"}
  ]
}
mpotter’s picture

The Colorbox message is normal. Been meaning to report that to the Colorbox module maintainer.

Does the site already have a Space and/or Section defined, or is this on an empty site? Also, what user are you testing the tour with? The drupal admin, or a normal user account? Does the user have permission to create sections?

joevagyok’s picture

I use drupal admin, with all the permissions that allow to create sections. The site has already sections and spaces created.

It redirects me to the section creation form (proves that i have permission to create one), but the small bootstrap step is not showing up. I also tried to adapt the css selector to .select2-search of the first step but nothing changed.

mpotter’s picture

OK, I can confirm this. Looks like the javascript for tours is stopping in the middle and preventing other javascript on the page from running. Looking into it.

mpotter’s picture

Status: Active » Fixed

Think this is fixed with the commit 1916854 in bootstrap_tour. Also note that on Pantheon, Open Atrium 2.42 is missing a patch to Drupal core that causes issues with some javascript popups, such as site map and tours.

If you want to test this on your site, apply the commit 1916854 to bootstrap_tour and also make sure you have the https://www.drupal.org/files/issues/2492993-drupal-hash-1.patch to Drupal core.

Re-open if this doesn't fix the issue for you.

joevagyok’s picture

Excellent! It works, Thanks a lot!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.