I see all settings but I don't know what attribute I should change.
the *redirect_uri* args I mean is when log with facebook will goto
https://www.facebook.com/dialog/oauth?
client_id=568390199919780&
scope=email,user_birthday&
*redirect_uri*=https://my_domain/[app]/default/user/login
because if
please try
{{=SPAN(A(T('Delete'), _href = URL('delete', args = [id] ), _title =
'Delete',
_onclick = "javascript:return confirm('Are you sure you want to
process?')",
_class = 'to-delete') ) }}
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
I have a link where I delete the table entry.
But I would like to have a confirmation like "are you sure you want to
delete...?". I believe I need to use javascript.
Any help from the group? How to get a confirmation window prior to delete?
--
Resources:
- http://web2py.com
- http://web2
Hello Joe,
You can extract URL like this if you know where the use is coming from, I
use the below code in "" link to pass the URL in _next
variable so the view on which the user is redirected which content a form
will redirect the user on the _next var content...
URL(r=request, c="controller_nam
It's just Python --
see http://www.diveintopython.net/html_processing/locals_and_globals.html.
The built-in globals() function returns a dictionary of all the objects in
the global environment.
Anthony
On Sunday, April 10, 2016 at 9:30:48 PM UTC-4, Alex Glaros wrote:
>
> I see globals used in
I see globals used in the welcome app. Are they something that programmers
can make good use of and what are they best suited for?
{{if 'message' in globals():}}
{{=message}}
{{=T('How did you get here?')}}
{{elif 'content' in globals():}}
{{=content}}
{{else:}}
{{=BEAUTIFY(response._vars)}}
{{p
You should be able to change redirect url using the standard settings of
auth.
http://www.web2py.com/books/default/chapter/29/09/access-control#Auth-Settings-and-messages
You do not need ajax, just a window.open() or a or an iframe
2016-04-10 9:38 GMT+02:00 killzane :
> I followed the web2py
I am concerned with keeping my app light and simple. As for tinyMCE i've
got serious doubts: tinyMCE-bigPROBLEMS :)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report
On that note, is it possible to use web2py template language in Django?
Does anyone know.
On Wednesday, March 16, 2016 at 10:18:59 AM UTC-4, rajjm...@gmail.com wrote:
>
> If you are not comfortable with django ORM you can also use SQLalchemy .
> Use that in web2py first to verify your model. And
am migrating to newest db.py, css, js, bootstrap3 by choosing "New simple
application" from admin panel and adding pieces of my app to new version
one at a time
where did "images" go? The following error is raised:
No module named imagesVersion
web2py™ Version 2.14.3-stable+timestamp.2016.03.2
Take a look at Tim's plugin for ckedito4
https://github.com/timrichardson/web2py_ckeditor4
You can integrate tinyMCE much the same way.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/is
Hi,
acording to the book
:http://www.web2py.com/books/default/chapter/29/03/overview?search=tinyMCE
it should be possible to plug-in tinyMCE
I have been trying to do so following steps described in the doc but
nothing works. the tinyMCE buttons don't do anything and whatever I input I
always en
Hi,
I am not sure I understand your question correctly
How do I change the style of a form using SQLFORM?
>
In appconfig.ini you can set:
; form styling
[forms]
formstyle = bootstrap3_stacked
separator =
and then in the db.py file:
## choose a style for forms
response.formstyle = myconf.take(
I followed the web2py book
http://web2py.com/books/default/chapter/29/09/access-control#Other-login-methods-and-login-forms
and
put the example code in my model
and I use this in my controllers named *default.py*
def fbLogin():
auth.settings.login_form=FaceBookAccount()
form = auth()
return di
14 matches
Mail list logo