Hide/Exclude panoramas from tour

Q&A about the latest versions
Post Reply
Roland
Posts: 35
Joined: Thu Apr 02, 2020 2:01 pm

Hi,

Is it possible to hide/exclude panoramas when using the Next Panorama action?

I would like the user to be able to click through a subset of all existing panoramas (using next and back buttons) when they answer an initial question at the start of the tour.

To give an example: "Which floor would you like to explore?"
Then when the user selects the ground floor, the next and back buttons only move through the ground floor panorama's (first floor and second floor are excluded/hidden).

Is there a way to achieve this?

Thanks,
Roland
Roland
Posts: 35
Joined: Thu Apr 02, 2020 2:01 pm

Already got it to work using the following setup:

- Set a variable after answering the initial question
- Create multiple Next and Back buttons (one per category) and show/hide the correct ones based on the aforementioned variable
- Add a category tag to each node
- Add a start tag to the first node of each category
- Add a end tag to the last node of each category

Then based on the value of the variable show the start panorama of that category. The next button then opens the next panorama of that category until the last panorama of that category is reached.
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Roland,
Can you post your skin, I can not follow this.
The next and previous buttons will follow the order of the tour browser.

I've built next and previous buttons that work with tags.
It's on my office Mac which I want to make a component from.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Roland
Posts: 35
Joined: Thu Apr 02, 2020 2:01 pm

Hi Hopki,

Yes, you'll have to group each category of nodes together in the tour browser (pano.xml) otherwise it won't work.

For example:

A1 [Start, Ground Floor], A2 [Ground Floor], A3 [End, Ground Floor], B1 [Start, First Floor], B2 [First Floor], B3 [First Floor], [End, First Floor], C1 [Start, Second Floor], C2 [End, Second Floor]

An option (marker) to hide/exclude panoramas from the tour would remove the need for them to be in order in the tour browser.

Lemme know if something is still unclear.

Best,
Roland
Post Reply