can i use a placeholder in the description field

Q&A about the latest versions
Post Reply
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

hallo,
i would like to have a email line in my hs-description fileld which shows the title of the hs in the subject. like that:


<a href="mailto:m.mustermann@domain.de?subject=title - $(hs)">E-Mail mit Betreff</a>

(the whole contend of the description field is then stored in a variale and shown in a text field)

that would be the easiest way fot me to do that, but i maybe it is not possible?

best regards,
wiso
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi wiso,
Need to understand more about your project.
You are using href, so is this text going to be in a popup infobox?
What exactly will the end-user see?
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/
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

hallo hopki,
thank you for answering.

i would like to realise the following:

if the customer clicks on the picture on the wall , the white slider with detail informations opens. and in this slider i want to have the possibility for a answer email which has in the subject the title of the picture, from the hotspot title field (and/or the name of the jpg, which i have also in the target field).

either as an mailto text link (B) or as an symbol (A) to klick.

this symbol version (A) i tried with your email component, but i cant´read out and use the title placeholder $(hs) in the components subject field. (with the user data title placeholder $(ut) it works, but does not make a sense)

hope this was understandable..

best regards,
wiso
SharedScreenshot3.jpg
SharedScreenshot3.jpg (162.31 KiB) Viewed 2175 times
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

sorry, was it understandable what i mean?

regards,
wiso
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi wiso,
Please see the attached project.
It is using a modified version of the e-mail component: viewtopic.php?f=22&t=15993
The Polygons are linked to a container in the skin using Hotspot Proxy ID.
The Polygon Hotspot ID has to be "email" for all polygons.
The container "PolyControl" has "email" in the Hotspot Proxy ID text field.
The container has the action to set the Polygon Hotspots Title to the variable "email_title".
This is then used in the send e-mail button, skin ID Mail.
Use the skin configuration to set the e-mail address and body text if need be.
Regards,
Attachments
project.zip
(15.36 KiB) Downloaded 110 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/
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

thank you hopki,

i am realy very thankful for your help! your example works perfectly. i hope i can adapt/integrate it to my work.

thank you very much!

wiso
wiso
Posts: 281
Joined: Wed Oct 26, 2016 6:52 pm

works!

the miracle was, not to use the placeholder itself but the variable.

i had only to use one action to add to my polygon container - on mousclick set variable "email_title" to title placeholder $(hs) . and to use your action:

"mailto:$(*email_mail)?subject=$(*email_title)&body=$(*email_body)"

for release the mailto action.

works great,
thank you!
Post Reply