FIXED!!
That was the problem!


the embedded window needed an address ending in .html. However, web2py
doesn't provide that out of the box (which I think it should, btw,
just provide an example routes.py populated with what is needed to
take all .html links to the function preceding it).

I created a routes.py folder (on OSX it is put under Web2py Contents
folder, under Resources <-- this needs to be clearer in the official
manual which currently says to just put it under the web2py folder...)

Hope anyone needing these embeded windows and needs to know how to get
it to work will find this info useful.




On Apr 7, 10:30 am, waTR <roman.goldm...@gmail.com> wrote:
> I noticed that if I enter an href="{{=URL(r=request, c='mycontroller',
> f='myfunction')}}.html", the embedded window pops-up, however, it is
> blank because if I manually enter that address, I get invalid
> function. I wonder if simply setting up a rout that will re-direct the
> above to just URL(r=request, c='mycontroller', f='myfunction') would
> work?
>
> I am trying this out, however, the manual is unclear as to how to get
> routes working. It says to put a routes.py file in the web2py
> folder...the root application folder? I did that and I still can't
> access the new rout of URL(r=request, c='mycontroller',
> f='myfunction') + .html in the address bar...
>
> On Apr 7, 10:09 am, waTR <roman.goldm...@gmail.com> wrote:
>
> > I could be wrong though, so if someone can get shadowbox javascript
> > library to work with web2py, especially the iframe embedded windows,
> > that would be awesome.http://www.mjijackson.com/shadowbox/index.html
>
> > I have the embedded window working. I.e. I can give it an href 
> > ofwww.google.com, and an embedded window will pop-up with that webpage
> > showing in an iframe in the embedded window. However, if I replace the
> > url with a web2py url, it just forwards the browser to that page.
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to