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 -~----------~----~----~----~------~----~------~--~---