[web2py] web2py recommended web hosting

2011-03-07 Thread Alejandro
Hello everyone, I am new in web2py and I am very impressed by their simplicity and capabilities. I would like to know which is the best/recommended web hosting to run web2py. Thanks, Alejandro

[web2py] Re: drop down box content depends of another drop box

2011-05-30 Thread Alejandro
I have exactly the same problem, did you find any solution? On May 11, 3:26 am, pepe_eloy wrote: > Thanks for the answer. > > Yeah, I tried that solution, but when can I save in the table empresa > the fields category and subcategoria only the categoria field has > values. Why? > > Thanks

Re: [web2py] drupal themes

2010-03-22 Thread Alejandro Fanjul
Hi Massimo, If there is something that I don't like at all from Drupal are their lack of templates, they are few and regular quality. If we really want to get the most of templates I would go for wordpress templates, there are thousands of free high quality templates... Although the main disad

[web2py:26580] Re: Where's the roadmap?

2009-07-15 Thread Alejandro Fanjul
. Alex F --- Enviado desde BlackBerry® --- Alejandro Fanjul www.mhproject.org -Original Message- From: mdipierro Date: Wed, 15 Jul 2009 13:07:13 To: web2py Web Framework Subject: [web2py:26571] Re: Where's the roadmap? Would it make a difference it the book were to be free? Mas

[web2py:28059] Re: feature request: auth email to approver

2009-08-05 Thread Alejandro Fanjul
What is the best (smart) way to approve pending users? thanks On 27 jul, 17:25, Hans wrote: > Grazie Massimo! > > The following works well for my need: > > auth.settings.registration_requires_verification = True > auth.settings.registration_requires_approval = True > auth.messages.verify_email =

[web2py] How to manipulate default tables and use them with powertable

2011-02-21 Thread Ismael Alejandro
Hi!! I have a new doubt, this time I'm trying to customize a table generated by a search, this is what I have: (Model) db.define_table('category', Field('name','string'),format='%(name)s') db.define_table('book', Field('name','string), Field('code','string)

Re: [web2py] Customize search results table

2011-02-21 Thread Ismael Alejandro
Anybody? What I need is the same functionality than the "Display *n *Entries" in powertable, but I need it as a parameter to show the info that has the selected value

Re: [web2py] Re: How to manipulate default tables and use them with powertable

2011-02-23 Thread Ismael Alejandro
Thank you! That worked perfect!! Now I have a doubt, It works as I need it, but if I want to show what the user selected in a view, what should I do? I have this view {{extend 'layout.html'}} You are currently seeing {{=request.vars.category}} books. {{=form}} {{=table}} It works but it show

Re: [web2py] How to catch values from CRUD.CREATE and validate?

2011-03-08 Thread Ismael Alejandro
Anybody??? Please?? On Mon, Mar 7, 2011 at 6:09 PM, Ialejandro wrote: > Hi again! Playing again with my hotel booking sys I have a new > doubt... > > I have this model: > > > db.define_table('room', > Field('name','string), > Field('ubication','string')) > > db.define_table('booking', >

Re: [web2py] Auto Submit DropDown

2011-03-11 Thread Ismael Alejandro
And, where do I type it?? The form is auto generated with SQLFORM or do I have to build the SQLFORM with HTML?? On Fri, Mar 11, 2011 at 5:18 PM, Bruno Rocha wrote: > try > > onchange="this.form.submit();" > > or using *Unobtrusive jquery way* > > $(document).ready(function(){ >$('#yourcombo'

Re: [web2py] Auto Submit DropDown

2011-03-11 Thread Ismael Alejandro
Any help?? On Fri, Mar 11, 2011 at 5:32 PM, Ismael Alejandro wrote: > And, where do I type it?? The form is auto generated with SQLFORM or do I > have to build the SQLFORM with HTML?? > > > On Fri, Mar 11, 2011 at 5:18 PM, Bruno Rocha wrote: > >> try >> >> onc

Re: [web2py] Auto Submit DropDown

2011-03-11 Thread Ismael Alejandro
;,requires=IS_IN_DB(db( > db.project.id>0),'project.id','project.name',error_message="Please pick a > project from the list"))) > > if form.accepts(request.vars, keepvalues=True): > response.flash = 'populate with %s' % form.vars

Re: [web2py] Re: File Upload and save to DB

2011-03-24 Thread Ismael Alejandro
Hi again, working with the original section, now I have this: - On a CLIENT computer, I generate the INI file with this structure: [Room] name = room1 color = red size = big - I send it by FTP to the computer where web2py is running - I have this script to parse and process the INI files on th

Re: [web2py] Re: File Upload and save to DB

2011-03-28 Thread Ismael Alejandro
?? On Thu, Mar 24, 2011 at 7:18 PM, Ismael Alejandro wrote: > Hi again, working with the original section, now I have this: > > > - On a CLIENT computer, I generate the INI file with this structure: > [Room] > > name = room1 > color = red > size = big > > - I sen

Re: [web2py] Bookings Manager

2011-04-12 Thread Ismael Alejandro
On Mon, Apr 11, 2011 at 8:27 PM, Ialejandro wrote: > Hi everybody!! Again with my booking example, but now I'm really > stucked. > > > I have this model: > > > *** > > if auth.is_logged_in(): >me = a

Re: [web2py] Re: Bookings Manager

2011-04-13 Thread Ismael Alejandro
Thanks pbreit! I'm trying to user your code but nothing happens... It shows the list with the link, but when I click the link nothing happens, no errors, no changes. Couldn't be easiest if I do it with checkboxes??? (I don't really know how) On Tue, Apr 12, 2011 at 4:30 PM, pbreit wrote: > I al

Re: [web2py] Re: Bookings Manager

2011-04-13 Thread Ismael Alejandro
Tried with Chrome, Firefox. Nothing Happens :( On Wed, Apr 13, 2011 at 5:34 PM, Ismael Alejandro wrote: > I'm using chrome > > > On Wed, Apr 13, 2011 at 5:28 PM, Stifan Kristi < > steve.van.chris...@gmail.com> wrote: > >> i'll test the pbreitenbach

Re: [web2py] Re: Bookings Manager

2011-04-13 Thread Ismael Alejandro
Awesomee!!! That worked!!! Thanks! On Wed, Apr 13, 2011 at 6:49 PM, pbreit wrote: > It didn't work for me at first when I went to > http://127.0.0.1:8000/booking but it starting working when I went to > http://127.0.0.1:8000/booking/default/index > > Also try restarting web2py to make sure r

Re: [web2py] How to run a daemon/service??

2011-04-27 Thread Ismael Alejandro
[SOLVED] The solution was easy... instead of using pymysql I used db.executesql() On Wed, Apr 27, 2011 at 11:58 AM, Ialejandro wrote: > Hi! Developing my school project app, I have this: > > I have a dir called _configdir with some .ini files, these files have > this structure: > > [ROOMNAME]

Re: [web2py] when to use CRUD versus SQLFORM

2011-05-22 Thread Ismael Alejandro
Hi apple! I'm my own experience (may me I'm wrong) I use SQLFORM when I need to customize a little the form, or when I have to deal with an specific var. But, is a good question, same doubt here :s On Sat, May 21, 2011 at 1:35 PM, apple wrote: > Can you do everything using CRUD that you can do

Re: [web2py] Re: web2py - Best Practice

2011-07-13 Thread Ismael Alejandro
+1 On Wed, Jul 13, 2011 at 7:37 AM, newnomad wrote: > > > On Jul 13, 1:05 pm, Marin Pranjic wrote: > > On Wed, Jul 13, 2011 at 7:45 AM, nic wrote: > > > > > A Wiki / Blog / CMS / Forum > > > An Online Store > > > A Personal Accounting System > > > A Media Center > > > etc ... > > > > This is g

[web2py] SQLFORM - crud.create in a popup

2011-07-13 Thread Ismael Alejandro
hi! How could I put a SQLForm or a crud.create form in a modal and send it some url attributes?

[web2py] INSERT Error? or Bug?

2011-07-13 Thread Ismael Alejandro
hi! I'm very confused, I'm trying to do a simple Insert, like this, db.person.insert(name = 'foo'), but It doesn't work (from a controller). I tried trough appadmin in the query field (same query) and it shows me an error: (1064, u"You have an error in your SQL syntax; check the manual that corre

Re: [web2py] INSERT Error? or Bug?

2011-07-13 Thread Ismael Alejandro
well, nothing is inserted 2011/7/13 Kenneth Lundström > > hi! I'm very confused, I'm trying to do a simple Insert, like this, > db.person.insert(name = 'foo'), but It doesn't work (from a controller). > > What happens when you do it in a controller? Do you get an error? If not > how do you know

Re: [web2py] INSERT Error? or Bug?

2011-07-13 Thread Ismael Alejandro
Not working :( On Wed, Jul 13, 2011 at 1:02 PM, Richard Vézina wrote: > Maybe you forgot : db.commit() > > Richard > > > On Wed, Jul 13, 2011 at 1:59 PM, Ismael Alejandro > wrote: > >> well, nothing is inserted >> >> >> 2011/7/13 Kenneth Lundst

Re: [web2py] INSERT Error? or Bug?

2011-07-13 Thread Ismael Alejandro
db.define_table('person', Field('name','string')) On Wed, Jul 13, 2011 at 1:11 PM, Richard Vézina wrote: > Would you show your model? > > Richard > > > On Wed, Jul 13, 2011 at 2:08 PM, Ismael Alejandro > wrote: > >> Not working

Re: [web2py] INSERT Error? or Bug?

2011-07-13 Thread Ismael Alejandro
) > > > Kenneth > > > db.define_table('person', > Field('name','string')) > > On Wed, Jul 13, 2011 at 1:11 PM, Richard Vézina < > ml.richard.vez...@gmail.com> wrote: > >> Would you show your model? >> >> Richard >> >

[web2py] Escaping '%' percent character

2014-02-14 Thread Alejandro Garza Gracia
Hello, I've looked through the documentation and the questions asked but I haven't been able to escape the '%' percent character in a string. I've tried using '\%' and '%%' in a label string, but none has worked so far. I'd appreciate the help. -- Resources: - http://web2py.com - http://web2p