Any update on this? I am using auth.login and auth.register forms on a
single page and it is resulting in duplicate ids for email and
password rows.
Original thread -
http://groups.google.com/group/web2py/browse_thread/thread/e43c1203d8749630?tvc=2
I am using auth.login and auth.register forms on a single page and it
is resulting in duplicate ids for email and password rows.
similar discussions were going on this thread
http://groups.google.com/group/web2py/browse_frm/thread/e43c1203d8749630
Is there any update on this?
i am using latest version 1.77.3 (2010-04-20 02:48:54)
On May 12, 8:29 pm, mdipierro wrote:
> This was fixed. What version of web2py are you using?
>
> On May 12, 5:51 am, Rohan wrote:
>
>
>
> > I am using auth.login and auth.register forms on a single page an
i am using latest version 1.77.3 (2010-04-20 02:48:54)
On May 12, 8:29 pm, mdipierro wrote:
> This was fixed. What version of web2py are you using?
>
> On May 12, 5:51 am, Rohan wrote:
>
>
>
> > I am using auth.login and auth.register forms on a single page and it
>
I am trying to call a function using ajax from a page which has a
request arg. the api is not getting called. Same api gets called if I
don't use request.args
here is my code
{{if request.args:}}
{{=request.args[0]}}
{{else:}}
10
{{pass}}
and default.py
def pageAjax():
"""
I want to add sender's name in emails. Currently I am able to send
mails from ad...@example.com but sender's name is displayed as admin
which is not conveying the proper information. Can I add senders' name
to mail settings so that sender's name is displayed as Example Admin
or XYZ instead of admin
Anybody aware of any plugin/slice available for inviting friends from
gmail, yahoo, hotmail, aol, facebook etc from a web application?
Thanks in advance.
I want to customize auth.login form and create an input field for
username/email like
using widget customizations {{=form.custom.widget.email}}, I get input
field like
is there any way to customizing auth.login form to generate the
desired form as specified above?
I tried us
I need to send reset password mail as html, so i created
in db.py
auth.messages.reset_password = [None, "Some html + Click on
below link to reset your password\n\n
http://'+request.env.http_host+URL(r=request,c='account',f='user',args=['reset_password'])+'/%(key)s
"]
in tools.py request_reset_pa
Thanks Massimo,
I copied the send() api to my tools.py and it worked.
On Jul 30, 3:03 am, mdipierro wrote:
> Please try the code in trunk. If the message is '' it
> should be sent automatically in html.
>
> On Jul 29, 3:00 am, Rohan wrote:
>
>
>
> >
Hi All,
I am a newbie with web2py. Basically I want to by-pass the user's
visit to user/login page. My home page will have the login fields like
twitter and I am planning to collect username/email and password from
login screen and pass it to web2py's default authentication service
for verificat
Can you please elaborate on this one? How can I point auth() to get
info from my custom login form on my home page?
Thanks
On Apr 9, 5:11 pm, Yarko Tymciurak
wrote:
> On Apr 9, 5:46 am, Rohan wrote:
>
> > Hi All,
>
> > I am a newbie with web2py. Basically I want to by-pass
form=auth())
>
> Then you can just
>
> {{=auth_form}} in your controllers view.
>
> -Thadeus
>
>
>
> On Fri, Apr 9, 2010 at 7:19 AM, Rohan wrote:
> > Thanks Yarko,
>
> > I don't want to use auth.requires_login() to index function as it will
> > lead
Hi All,
I want to change the look and feel of default login form. I want it to
display email and password fields in single row rather than 2
different rows. Any way to customize the default form?
Any pointers?
Thanks
--
To unsubscribe, reply using "remove me" as the subject.
(0)=='login'}}
> {{=form.custom.begin}}
>
> {{=form.custom.widget.email}}
> {{=form.custom.widget.password}}
> {{=form.custom.submit}}
>
> {{=form.custom.end}}
> {{else:}}{{=form}}{{pass}}
>
> On Apr 14, 12:19 am, Rohan wrote:
>
>
>
> > Hi All,
>
> >
Hi All,
I want to use fbconnect with web2py. I found couple of threads in this
group
1.
http://groups.google.com/group/web2py/browse_frm/thread/84f27e0a06312da2/df12a6fac159242e?lnk=gst&q=fbconnect#df12a6fac159242e
2.
http://groups.google.com/group/web2py/browse_frm/thread/31e9149ad731067d/938e0
hi Jon,
Can you please share updates on integration between fbconnect and
auth.user()?
Thanks
On Feb 2, 4:34 pm, Jon Romero wrote:
> But then how auth.user is updated?
>
>
>
>
>
> >All auth does on successful login is:
> >from gluon.storage import Storage
> >session.auth=Storage()
> >session.au
provided in that page something like verification of email
while registering.
Any pointers?
Thanks
Rohan
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
session.auth = Storage(user=user_obj, last_visit=request.now,
expiration=2600)
auth.user = user_obj
On Apr 20, 10:10 am, howesc wrote:
> Rohan,
>
> Someone pointed out gaema (http://code.google.com/p/gaema/) on the
> group a couple of weeks ago as a tool that integrates
link
http://...reset_password/1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb
generated above.
Also, is there any way to customize the content of the mail? I want to
add something above and below the default generated content.
Thanks a lot
Rohan
On Apr 19, 7:24 pm, mdipierro wr
Followup question on this,
After email is sent, user is navigated to the login page, but I want
user to head back to homepage. Can you please share the settings for
this?
Thanks
Rohan
On Apr 20, 12:19 pm, Rohan wrote:
> Hi mdipierro,
>
> Afte
link
http://...reset_password/1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb
generated above.
Thanks a lot
Rohan
On Apr 19, 7:24 pm, mdipierro wrote:
> Yes.
>
> auth.settings.reset_password_requires_verification = True
>
> On Apr 19, 5:10 am, Rohan wrote:
>
>
>
> > Hi A
ks.
Is this correct way of doing it?
Also my "To" field in the email received by user, is showing ="?utf-8?
q?com?=" any ideas?
Thanks
Rohan
On Apr 20, 12:48 pm, Rohan wrote:
> Hi mdipierro,
>
> After setting auth.settings.reset_password_requires_verification
Hi Christian,
you can check http://www.web2pyslices.com/main/slices/take_slice/77
I have not tried it yet but thought let you know about it.
Thanks
On Apr 20, 10:10 am, howesc wrote:
> Rohan,
>
> Someone pointed out gaema (http://code.google.com/p/gaema/) on the
> group a couple
I am trying to fetch some information from cookie
cookie = cookies.get("xyz", "")
if not cookie: return None
args = dict((k, v[-1]) for k, v in
cgi.parse_qs(cookie.strip('"')).items())
but on running, i am getting AttributeError: 'Morsel' object has no
attribute 'strip' error
Can som
Hi,
I have added a new column access_key in auth_user table, I want to
default it to with a value obtained by using email
calculateValue(email):
#some logic
return calculatedValue
I tried calling the above method using Field('access_key', 'string',
readable=False, writable=False, defau
Hi All,
I am creating a session for a user logged in from facebook and wants
to disable certain functions like retrieve_password, change_password
etc. here is the code for this
if not auth.is_logged_in():
user_obj = Storage(user_table._filter_fields(user,
id=True))
Thanks
On Apr 28, 7:01 pm, mdipierro wrote:
> Much simpler.
>
> Field('access_key',calulate=lambda r: calculateValue(r['email']))
>
> and it will be automatic
>
> On Apr 28, 2:26 am, Rohan wrote:
>
>
>
> > Hi,
>
> > I have added a n
nted. What
could be possible causes for this issue?
Regards
Rohan
Hi,
I was working on tickets2email.py file to deploy it for my app and I
observed (a bug) that we are appending request.folder twice e.g.
applications/init/../init/errors/applications/init/errors/122.1
first in getting filename for ticket in tickets2email.py
filename = os.path.join(path, fil
Web2py Version 1.99.7 (2012-03-04 22:12:08) stable
Python 2.7.2+
I am trying to load external library from python (
http://pypi.python.org/pypi/readability-lxml/0.2.3)
import urllib2
import readability
page = urllib2.urlopen(url)
html = page.read()
page is fetched
any updates?
On Monday, 26 March 2012 20:03:07 UTC+5:30, Rohan wrote:
>
> Web2py Version 1.99.7 (2012-03-04 22:12:08) stable
> Python 2.7.2+
>
> I am trying to load external library from python (
> http://pypi.python.org/pypi/readability-lxml/0.2.3)
>
> import
web2py version: 1.98.2
I have two servers with shared database and I am trying to store session in
database using
session.connect(request, response, db=db, migrate=False)
but session._try_store_in_db is throwing Internal Error from one of the
servers but it works fine from second server.
I am creating an extra element in form as per guide
http://web2py.com/book/default/chapter/07#Adding-extra-form-elements-to-SQLFORM
here is the code
controller
settings_form = SQLFORM(db.auth_user, record, fields = ['first_name',
'email'], labels = {'first_name' : 'Full Name', 'email': 'Email
Add
If not always setting it to true, it's toggling it. Once on then off then on
and so on,
I modified code and set value based on boolean variable but had same issue.
custom_checkbox = TR(LABEL(), TD(INPUT(_name='agree',value=session.dummy,
_type='checkbox'), LABEL('Some setting')))
settings
instead of session.dummy =(not session.dummy) on above post, i tried this
on form.accepts
session.dummy = form.vars. agree
still the checkbox toggles.
Any updates?
as a workaround I am using response.js and setting the correct value of
checkbox from js.
web2py version: Version 1.92.1 (2011-02-16 15:04:40)
LOAD is failing to pass request.vars when ajax is set to False but passed
vars when ajax is set to True. I want certain component to load before page
finish loading so need to set ajax= False. I tried this call in
default/index.html
{{=LOAD(
web2py: Version 1.92.1 (2011-02-16 15:04:40)
with_alias fails to work when where clause is specified. It works fine when
documented example is run
>>> db()._select(db.person.name, Father.name, Mother.name,
left=(Father.on(Father.id==db.person.father_id),
Mother.on(Mother.id==db.person.mother_
Version 2.1.1 (2012-10-15 12:44:40) stable
Hi,
I am not able to submit an auth form. I am using default auth code. On
submitting the form, password is shown as invalid and 'enter from 0 to 512
characters' error is thrown. Input
enter from
0 to 512 characters
Please advice.
Thanks
--
On Thursday, 18 October 2012 02:51:52 UTC+5:30, Massimo Di Pierro wrote:
>
> What is the code? Is this something that worked before? using a custom
> form?
>
> On Wednesday, 17 October 2012 09:17:57 UTC-5, Rohan Malhotra wrote:
>>
>> Version 2.1.1 (2012-10-15 12:44:4
How did you solve it? I'm facing the same problem - deciding where to place
the navbar code I wrote.
On Saturday, 15 December 2012 09:09:05 UTC+5:30, Lewis wrote:
>
> I solved this.
>
> On Friday, December 14, 2012 3:37:45 PM UTC-8, Lewis wrote:
>>
>> I understand that code and put it in my contr
42 matches
Mail list logo