Missing placeholder for Point Hotspot/ID

Q&A about the latest versions
Post Reply
bg360
Posts: 8
Joined: Mon Aug 30, 2021 7:25 pm

Hi,

I tried this:
https://ggnome.com/doc/panel-user-data/#custom-node-id
Placeholders can be used. For instance, you could go to Edit Project User Data, and put $(ut) into the Custom Node ID field to use the user data title as the custom node ID in each node.
This works. But I want to use the field Properties-Point Hotspot ID in the field Properties-Point Hotspot/Link Target URL.
The reason is that we have thousands of URL hotspots and all the URLs are like:
domain.com/Hotspot ID

Moreover I'd like to save the domain URL in a variable to make it easier, if the domain changes.

$(var_domain):
http://www.domain.com/

Link Target URL:
$(var_domain)$(hid)

I figured out 3 problems:
1. The placeholder for the Properties-Point Hotspot ID doesn't exist.
2. Placeholders can't be used in the field Properties-Point Hotspot/Link Target URL.
3. Variables can't be used in the field Properties-Point Hotspot/Link Target URL.

Is there a workaround?

Thanks
Michael
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Michael,
For a full list of placeholders please see our documentation: https://ggnome.com/doc/placeholders-list/
So to try and understand your requirement you want to be able to use the Skin Configuration button to set Point Hotspot URLs.
I take it this would include the Hotspot Titles and targets, so you would need three text variables per hotspot.

Knowing all point hotspots can have a unique ID you would use this, so start off with Point01 and keep adding to the number.
By default this number restarts with the next panorama, but keep it going so every Point Hotspot in the tour has its own ID.

You can then use Hotspot Proxy ID to link to a container, one will be required for each Point Hotspot, so give them the ID's P01, P02, etc.

This would be a lot of repetitive work, with three variables for each Point Hotspot.
You could default the target to _blank in the container saving having to have a variable for this.

Please find attached a working project.

Regards,
Attachments
links.zip
(16.33 KiB) Downloaded 98 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/
bg360
Posts: 8
Joined: Mon Aug 30, 2021 7:25 pm

Hi Hopki,

i already checked the documentation and didn't find a placeholder for the Hotspot ID.
I've for example the following URL Hotspost:

ID: 0781
Link Target URL: http://www.berchtesgaden360.de/0781

ID: 0024
Link Target URL: http://www.berchtesgaden360.de/0024

ID: 1605
Link Target URL: http://www.berchtesgaden360.de/1605

When you've thousands of these hotspots and the domain changes, it's a lot of work. Therefore I would like to save the URL http://www.berchtesgaden360.de/ in a variable. This way I've to change it only once in the variable.

In addition, the ID could be added automatically if there would be a placeholder for the Hotspot ID available.

Than the Link Target URL for all hotspots could be generated by the variable and the placeholder:
$(var_domain)$(hid)

Is it possible to develop the missing placeholder and make it work this way?

Sincerely
Michael
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Michael,
If editing is the only reason for this then you can edit the XML file, you can do a find and replace editing thousands of hotspots in seconds.
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/
bg360
Posts: 8
Joined: Mon Aug 30, 2021 7:25 pm

Hi Hopki,
thanks, the replacement in the XML is a workaround for the editing.

Now only the placeholder for the Hotspot ID is missing:
https://ggnome.com/doc/placeholders-list/

Is there a way to add this placeholder soon? If this placeholder could be available quickly, I would save myself a lot of work. Therefore I would like to support the development financially. Would it be possible?
Post Reply