I have a worldmap with googlemaps on my umbraco website that load a lot of information from a KML file (is a xml with geodata positions, latitude,altitude, icons, some text... and basically it add a lot of google map points to the map of shops and selling points) . This is a great sollution for me, i think that it's awesome :) but it is a little limited on how i show the information, and i can use it. Otherwise my problem is to use the email that comes from KML file, it is simple HTML text between <a>...</a>, so i need to pass an email an a name on the URL calling the form. Form example:
I think I know what you want to do, but can you provide us with the XSLT code that creates all of the functionallity. The place in the code where the mailto: is written.
If you want to grab a value from a parametre in the URL called 'mail' you can get it like this:
The contact form .aspx with the Pliable form have on URL [email protected] how to say Pliable that toAddress is this mail when i click SEND on the form.
the file "pliableForm_table.xslt" don't send toAddress. isn't it?
Currently this would not be possible to do. I can send you the source if you want to try to make this work. It would be possible to add the email from the querystring to the json object that is sent to the webservice.
I dont know what to say Jon, i can try it with vs 2010 but, actually my umbraco version is 4.0.4.2 and i'm using your legacy xslt. furthermore i only need a very basic contact form, i need to evaluate if it's easier for me to dev a small user control in .net to send the email.
Thanks for all, ill tell you if i'm ready to try with source code.
The source code won't help you out with the markup inside the legacy xslt. You be able to change that yourself inside the xslt. Just search for the table and td elements and delete them and change the tr elements to p tags or whatever you want.
As for the source, where would you like me to send it?
yes i know, if i get modify source code to work with my system i'll modify XSLT version to get a full DIV/class/id/etc... version. I can send you all and get an alternative version for old installations.
Modify mailTo address 'on the fly'
Which would be the best way to do this?
i would like to modify 'mailto' address with URL parameters.
Regards
Hi Javier
The code that you want to modify, how does that that look? Could you provide us with that code?
/Kim A
Ok. ill start talking about my problem:
I have a worldmap with googlemaps on my umbraco website that load a lot of information from a KML file (is a xml with geodata positions, latitude,altitude, icons, some text... and basically it add a lot of google map points to the map of shops and selling points) . This is a great sollution for me, i think that it's awesome :) but it is a little limited on how i show the information, and i can use it. Otherwise my problem is to use the email that comes from KML file, it is simple HTML text between <a>...</a>, so i need to pass an email an a name on the URL calling the form. Form example:
http://mywebpage.com/[email protected]&name=Shop A-B-C
How can i tell PliableForm that toAddress is the parameter "mail" on URL?
I think I know what you want to do, but can you provide us with the XSLT code that creates all of the functionallity. The place in the code where the mailto: is written.
If you want to grab a value from a parametre in the URL called 'mail' you can get it like this:
/Kim A
I'm not explaining very well i think.
The contact form .aspx with the Pliable form have on URL [email protected] how to say Pliable that toAddress is this mail when i click SEND on the form.
the file "pliableForm_table.xslt" don't send toAddress. isn't it?
Hi Javier,
Currently this would not be possible to do. I can send you the source if you want to try to make this work. It would be possible to add the email from the querystring to the json object that is sent to the webservice.
I dont know what to say Jon, i can try it with vs 2010 but, actually my umbraco version is 4.0.4.2 and i'm using your legacy xslt. furthermore i only need a very basic contact form, i need to evaluate if it's easier for me to dev a small user control in .net to send the email.
Thanks for all, ill tell you if i'm ready to try with source code.
what do you think?
ok Jon, send me source code, i'll try to modify it. For now is the best sollution i have found for my requirements.
i dont know if i must update my umbraco installation first. because i dont like so much the legacy version because "table tr-td" system.
Javier,
The source code won't help you out with the markup inside the legacy xslt. You be able to change that yourself inside the xslt. Just search for the table and td elements and delete them and change the tr elements to p tags or whatever you want.
As for the source, where would you like me to send it?
yes i know, if i get modify source code to work with my system i'll modify XSLT version to get a full DIV/class/id/etc... version. I can send you all and get an alternative version for old installations.
Please, send me a .zip to [email protected].
Jon, i have finished all changes. What do you want to recieve. I can send you all archives to be checked.
Furthermore, i have another quesiton, If i need a file attachment system, what would be the best way?.
Thanks, I'll take a look. jon [at] cuth {dot} net.
I haven't looked into file attachments yet.
is working on a reply...