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 controller.
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:40) stable
Hi,
I am not able
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
td class=w2p_fw
input class=password invalidinput
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 urllib2
import readability
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
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
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),
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
Any updates?
as a workaround I am using response.js and setting the correct value of
checkbox from js.
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
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')))
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.
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,
could be possible causes for this issue?
Regards
Rohan
Thanks Massimo,
I copied the send() api to my tools.py and it worked.
On Jul 30, 3:03 am, mdipierro mdipie...@cs.depaul.edu wrote:
Please try the code in trunk. If the message is 'html/html' it
should be sent automatically in html.
On Jul 29, 3:00 am, Rohan yourbuddyro...@gmail.com
I need to send reset password mail as html, so i created
in db.py
auth.messages.reset_password = [None, htmlSome 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
/html]
in tools.py
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 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
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
div id=ajaxCallEval style=display: none;/div
form action=
input type=hidden id=pageId value=-1 /
/form
{{if
i am using latest version 1.77.3 (2010-04-20 02:48:54)
On May 12, 8:29 pm, mdipierro mdipie...@cs.depaul.edu wrote:
This was fixed. What version of web2py are you using?
On May 12, 5:51 am, Rohan yourbuddyro...@gmail.com wrote:
I am using auth.login and auth.register forms on a single
i am using latest version 1.77.3 (2010-04-20 02:48:54)
On May 12, 8:29 pm, mdipierro mdipie...@cs.depaul.edu wrote:
This was fixed. What version of web2py are you using?
On May 12, 5:51 am, Rohan yourbuddyro...@gmail.com wrote:
I am using auth.login and auth.register forms on a single
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?
mdipie...@cs.depaul.edu wrote:
Much simpler.
Field('access_key',calulate=lambda r: calculateValue(r['email']))
and it will be automatic
On Apr 28, 2:26 am, Rohan yourbuddyro...@gmail.com wrote:
Hi,
I have added a new column access_key in auth_user table, I want to
default
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))
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,
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 someone
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 how...@umich.edu wrote:
Rohan,
Someone pointed out gaema (http://code.google.com/p/gaema/) on the
group a couple
://...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 mdipie...@cs.depaul.edu wrote:
Yes
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 yourbuddyro...@gmail.com wrote:
Hi mdipierro,
After setting
.
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 yourbuddyro...@gmail.com wrote:
Hi mdipierro,
After setting auth.settings.reset_password_requires_verification to
True, I got
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=gstq=fbconnect#df12a6fac159242e
2.
hi Jon,
Can you please share updates on integration between fbconnect and
auth.user()?
Thanks
On Feb 2, 4:34 pm, Jon Romero darks...@gmail.com wrote:
But then how auth.user is updated?
All auth does on successful login is:
from gluon.storage import Storage
session.auth=Storage()
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
, last_visit=request.now,
expiration=2600)
auth.user = user_obj
On Apr 20, 10:10 am, howesc how...@umich.edu 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 google, twitter,
facebook, and others
{{=form.custom.widget.password}}/td
td{{=form.custom.submit}}/td
/tr/table
{{=form.custom.end}}
{{else:}}{{=form}}{{pass}}
On Apr 14, 12:19 am, Rohan yourbuddyro...@gmail.com wrote:
Hi All,
I want to change the look and feel of default login form. I want it to
display email and password
(auth_form=auth())
Then you can just
{{=auth_form}} in your controllers view.
-Thadeus
On Fri, Apr 9, 2010 at 7:19 AM, Rohan yourbuddyro...@gmail.com wrote:
Thanks Yarko,
I don't want to use auth.requires_login() to index function as it will
lead the user to login page.
another
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.
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 resultsinsoftw...@gmail.com
wrote:
On Apr 9, 5:46 am, Rohan yourbuddyro...@gmail.com wrote:
Hi All,
I am a newbie with web2py. Basically I want
39 matches
Mail list logo