All menu nodes are displayed in the Iphone, instead on the desktop they are displayed well

Q&A about the latest versions
Post Reply
Javier B
Posts: 98
Joined: Wed Sep 23, 2020 11:59 am

Hi !
When I visualize the tour from my Iphone, all the nodes are visible in the menu and should not be. In the desktop view it shows only the selected nodes.
I am using the feather_orb skin

Javier

The ones marked with an x should not be visible.
IMG_4B95408A9D40-1.jpeg
IMG_4B95408A9D40-1.jpeg (1.5 MiB) Viewed 16841 times
Attachments
Captura de pantalla 2022-06-08 a las 18.21.26.png
Captura de pantalla 2022-06-08 a las 18.21.26.png (737.88 KiB) Viewed 16841 times
User avatar
Hopki
Gnome
Posts: 13026
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Javier,
The Desktop and mobile menus are separate in the skin.

As this skin does not have categories I can only assume you have added your own button.
This also needs to target the mobile menu cloner

node_cloner is for the desktop

node_cloner_phone is for the mobile.

Regards,
Hopki
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/
Javier B
Posts: 98
Joined: Wed Sep 23, 2020 11:59 am

Hello Hopki.

I haven't added any buttons, I just selected which tag I want to display in the menu. I don't know what you mean by "I need to target the mobile menu cloner "

node_cloner is for the desktop

node_cloner_phone is for the mobile.


Many thanks for your quick response.

Javier
Attachments
Captura de pantalla 2022-06-09 a las 9.17.11.png
Captura de pantalla 2022-06-09 a las 9.17.11.png (82.44 KiB) Viewed 16818 times
User avatar
Hopki
Gnome
Posts: 13026
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Javier,
The cloner used for the desktop and mobile ate different, if you have only set the tag in the desktop one then the mobile menu will still show all nodes.
You have set the tag in the cloner, node_cloner
But now you need to set the tag in the mobile menu cloner, node_cloner_phone.
To find this in Pano2VR 7 open the skin editor and select Edit, Find then paste in, node_cloner_phone.

find.png
find.png (205.66 KiB) Viewed 16813 times

Now click the result to see it in the skins tree.
Add the tag and you should be done.

Note you can use an action in a button to change the tag in a cloner.
For example you could use a Set Value action, with the target being node_cloner, and leaving the value blank.
On click this would remove the tag and the menu would now show all nodes.
Again you can use another button with another Set Value action but this time have a tag as a value.
On click the menu would now show only nodes with this tag.
If you were to do this with the current skin you would need two actions one for the node_cloner and the other for the node_clocner_phone.


Or if you want to get really good you can use a Regular Expression, so one action to target both. See attached project.
You use the Regular Expression in the target so it can address more than one element, see: https://ggnome.com/doc/skin-regex/

Regards,
Hopki
Attachments
project.zip
(33.55 KiB) Downloaded 261 times
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/
Javier B
Posts: 98
Joined: Wed Sep 23, 2020 11:59 am

I have already solved it.
Thank you very much for your always excellent help, Hopki.
Post Reply