I want to be able to have a google map (plus street viewer) embed into my pligg site. Is there an easy way to make this happen?
Can anyone help us get started?
I can do Step 1, need help with Step 2.
Step 1) I want to capture the following info in the submit step (specifically submit step2)
- Street Address (extra field1)
- city (extra field 2)
- state (extra field 3)
- zip (extra field 4)
Step 2) When the user submits after submit step 2, I want to use google's geocoding function to store the co-ordinates (Lat, Long) into another extra field.
It's hard to answer this due to the lack of specifics in your post. I'm assuming you want a user to add these fields in the submission process? If so you will need to look into "extra fields" Having it process through google and spit out the results into link_summary.tpl is a whole different ball of wax.. Regardless, it's not something your going to be able to just set up like 1,2,3.. This will require vast programming skills and some serious in depth pligg knowledge.
☺Help Keep ChuckRoast Home
▼ Today's Pligg Blog Post ▼
Yes, you are right. I want to use extra fields to store the Address, City, Zip. Then use google code to convert it into latitude/longtitude and store in link_field7
I started with a simple test. I inputted a hard-coded physical address, city, zip, using this code and added it to submit_step_3.tpl and got back a result. I am having trouble inserting this result into the link_field7 variable.
Any suggesitons on what I could try next or how I could get this to work?