Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Pasting HTML into Text/HTML modulePasting HTML into Text/HTML module
Previous
 
Next
New Post
11/27/2010 5:37 PM
 
I have a patch of HTML, below, that works fine on a regular (non-DNN) web page.  When the user enters their address or zip code into the field and clicks Go, Google puts up a page with driving directions to daddr.

<form id="getmap" action="http://maps.google.com/maps" method="get">
    <label for="saddr">Get directions from your address:</label>
    <input type="text" name="saddr" id="saddr" />
    <input type="submit" value="Go" />
    <input type="hidden" name="daddr" value="2144 W. Greger St. Oakdale, CA" />
</form>

But when I enter this code into a Text/HTML module (RADEditor) using "Paste Options | Past HTML" it doesn't work.  The input field and Go button appear but Google isn't called to process the form.

Does anyone know what the problem might be?

Thanks,
Steve
 
New Post
11/29/2010 2:29 PM
 
This was answered in a later thread by DavidT: You can't put <form> in DNN as DNN pages are effectively enclosed within a single <form>, and these can't be nested.

Steve
 
New Post
11/29/2010 3:34 PM
 
Google Maps can be a bit complex, but flexible and powerful.  A starting point might be here > http://code.google.com/apis/maps/docu...

Again, I use OpenWebStudio for Google Maps so not sure how it might work with other modules.
 
New Post
11/29/2010 5:17 PM
 
Hi David,

When I did the map function on my non-DNN page I looked into the Google API but it seemed to mainly let you add your own information to the map.  I just wanted to let the visitor enter  their address and generate a map for  them to me - period.  Then I found that I could do that by just sending Google a form with the destination and starting address filled in.  So I went with that.

When I started with DNN I thought at first that I would use one of the DNN map modules available, like BizMap or LZDNN,  but their directions function was not as clean as what I had: they made the visitor enter both their address and the destination address.  So I decided to stick with my simple form  and just get it to work from DNN.

Steve
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Pasting HTML into Text/HTML modulePasting HTML into Text/HTML module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out