Hi, thanks for this module.
How does it work ?
- The kernel module "Tour" is it required ?
- How to create multiple tour ? I only managed to create a single visit with several tip.
- How to organize the tip ? there is nothing to change their positions in the tour.
- The tour starts automatically when the page is loaded. How to disable this ?
- How to start the tour manually ?
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | config.PNG | 30.84 KB | coaston |
| #18 | h1.PNG | 8.73 KB | coaston |
| #6 | Capture du 2017-12-28 15-27-39.png | 209.51 KB | zenimagine |
| #6 | Capture du 2017-12-28 15-23-35.png | 95.18 KB | zenimagine |
Comments
Comment #2
zenimagine commentedComment #3
mqanneh@zenimagine to answer your questions:
The default behaviour of the tour is to start automatically on page load, if you to override that you can use the following code:
You can add the previous code to your jQuery code, ex: button.onClick();
Please let me know if this answered your questions.
Comment #4
zenimagine commentedThank you for your answers, I will test it tomorrow.
Why did you create a new module and not create a D8 version of the next module ?
https://www.drupal.org/project/bootstrap_tour
The D7 module offers a check box for the automatic launch of Tour when the page loads.
The module D7 proposes a box to inform the path of the visit, which makes it possible to create several Tour.
Comment #5
mqannehI didn't use that module because this one is a new module that started from scratch without using any code from the previois one.
so it won't help to start the 8.x branch at the same old module with a different experience.
Comment #6
zenimagine commentedI currently have the modules "Tour" and "Tour UI" to install.
I created a custom block to launch "Tour". How to modify this block to launch "Bootstrap Tour" ?
<a class="btn btn-success btn-sm" href="/?tour"><i class="fa fa-compass fa-lg"></i> Visite</a>Comment #7
zenimagine commentedI am not an expert in programming ;-)
For example to open the menu on the right I created a custom block containing :
Can I create a custom block like this to start "Tour" ?
If so, can you tell me what to enter in this block ?
Do you want to create a "Tour" block with the next version of the module ?
Comment #8
mqannehAdd any button or link to yoir block template then trigger the jQuery code I sent you in my previous comment on clicking on this button.
check jQuery Click for more information.
Comment #9
zenimagine commentedThank you. One last thing.
It would be nice to allow negative values for padding.
Comment #10
mqannehWhy would you use a negative padding for the highlighted element?
highlighting padding is intended to use when you want to highlight a dom element, it's not intended to be negative.
check http://bootstraptour.com/api/
Comment #11
zenimagine commentedI open the separate problem of this post with more detail
Comment #12
mqanneh@zenimagine please don't create separate issues. no need to have 5 issues for support request.
let's make the discussion on one place.
Comment #13
zenimagine commentedSorry, I thought I'd do well.
This post dealt with several problems, I thought you would close this one and let others open. This will have facilitated follow-up.
Comment #14
zenimagine commentedI did not manage to create the block to manually launch the visit
Comment #15
zenimagine commentedcould you give the code to start the visit in a personal block?
Or create a block with the module ?
Because there is no way to launch the visit manually and it is a real handicap for this module.
It's a shame because the module is interesting.
Comment #16
mqannehComment #17
mqannehComment #18
coaston commentedHello,
Iam trying to configure that tour for my web side for alsmost 2 days. What I am doing wrong? Just simple test attached:
I cannot see any Message (tip) there should be "Hello" displayed.
Comment #19
zenimagine commentedThe last update of the Bootstrap Tour library is over 3 years old.
This bookstore seems to be totally abandoned.
Why don't you create a module, to adapt the Drupal kernel "Tower" module to the Bootstrap theme ?