I found that I made a mistake and altered the plugin_gmap/index.html file and this is the reason things were not working. After I copied back the original plugin_gmap/index.html file from the plugin, it worked fine. I did have to add a {{pass}} like so for it to work and I don't understand that.
{{if 'message' in globals():}} <h3>{{=message}}</h3> {{pass}} {{=LOAD('plugin_gmap')}} Margaret On Thursday, June 21, 2012 9:33:33 PM UTC-5, greaneym wrote: > > I made an app called "testmap" using the plugin_gmap mentioned in an > earlier > post and this worked fine. But then I wanted to put the app inside of > another > app and am having problems with this. What ever I've tried causes the > webp2y to > quit. > > The new app is called "geoschool" and has the following entries, with 4 > attempts > listed in the view. Can anyone suugest how this can be shown in a view? > > thank you, > Margaret > > > > models/ > plugin_gmap.py > db.py > > controllers > plugin_gmap.py > default.py (doesn't contain any references to plugin_gmap.py) > > views/plugin_gmap/index.html > {{response.files.append(URL('static','js/jquery-1.6.2.min.js'))}} > {{extend 'layout.html'}} > > <html> > > {{=LOAD('plugin_gmap')}} > {{pass}} > > <script> > etc. > > > > I am trying to call this view by another view file located in > views/default/quizzes.html: > > {{extend 'layout.html'}} > > <html> > > > <div> > > <br> > <!--1--> > <a > href="(=URL(request.geoschool="geoschool",request.controller="plugin_gmap",'index'))"> > > test of capitals page</a> > <!--2--> > <a href="{{=URL(a="geoschool",c="plugin_gmap",f="index")}}"> test of > capitals page</a> > <!--3--> > <a href="{{=URL('plugin_gmap')}}"> test of capitals page</a> > > <!--4--> > <br> > <a href="plugin_gmap/index.html"><h3>Locate State Capitals > </h3></a>Find the capitals of the states.</p> > > </div> > > </html> > > --