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

Re: [web2py] Re: web2py - Best Practice

2011-07-13 Thread Ismael Alejandro
+1 On Wed, Jul 13, 2011 at 7:37 AM, newnomad uti...@gmail.com wrote: On Jul 13, 1:05 pm, Marin Pranjic marin.pran...@gmail.com wrote: On Wed, Jul 13, 2011 at 7:45 AM, nic nicbythe...@gmail.com wrote: A Wiki / Blog / CMS / Forum An Online Store A Personal Accounting System A

[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, uYou have an error in your SQL syntax; check the manual that

Re: [web2py] INSERT Error? or Bug?

2011-07-13 Thread Ismael Alejandro
well, nothing is inserted 2011/7/13 Kenneth Lundström kenneth.t.lundst...@gmail.com 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?

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 ml.richard.vez...@gmail.com wrote: Maybe you forgot : db.commit() Richard On Wed, Jul 13, 2011 at 1:59 PM, Ismael Alejandro ialejandr...@gmail.comwrote: well, nothing is inserted 2011/7/13 Kenneth Lundström

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 ml.richard.vez...@gmail.com wrote: Would you show your model? Richard On Wed, Jul 13, 2011 at 2:08 PM, Ismael Alejandro ialejandr...@gmail.comwrote: Not working :( On Wed, Jul 13

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 On Wed, Jul 13, 2011 at 2:08 PM, Ismael Alejandro ialejandr...@gmail.com wrote: Not working :( On Wed

[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 pepe.e...@gmail.com 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?

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 simo...@gmail.com wrote: Can you do everything using CRUD

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 ialejandr...@gmail.com wrote: Hi! Developing my school project app, I have this: I have a dir called _configdir with some .ini files, these files have this

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

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 ialejandr...@gmail.comwrote: 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's code and it works fine, pardon

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 pbreitenb...@gmail.com 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

Re: [web2py] Bookings Manager

2011-04-12 Thread Ismael Alejandro
On Mon, Apr 11, 2011 at 8:27 PM, Ialejandro ialejandr...@gmail.com wrote: Hi everybody!! Again with my booking example, but now I'm really stucked. I have this model: *** if

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 ialejandr...@gmail.comwrote: 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

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

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 rochacbr...@gmail.com wrote: try onchange=this.form.submit(); or using *Unobtrusive jquery way* $(document).ready(function(){

Re: [web2py] Auto Submit DropDown

2011-03-11 Thread Ismael Alejandro
Any help?? On Fri, Mar 11, 2011 at 5:32 PM, Ismael Alejandro ialejandr...@gmail.comwrote: 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 rochacbr...@gmail.comwrote: try onchange

Re: [web2py] Auto Submit DropDown

2011-03-11 Thread Ismael Alejandro
))) if form.accepts(request.vars, keepvalues=True): response.flash = 'populate with %s' % form.vars.project #populate powertable return dict(script=script,form=form) 2011/3/11 Ismael Alejandro ialejandr...@gmail.com Any help?? On Fri, Mar 11, 2011 at 5:32 PM, Ismael

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 ialejandr...@gmail.com 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'))

[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] 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),

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

[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 johann.scheibelho...@easytouch-edv.com wrote: Grazie Massimo! The following works well for my need: auth.settings.registration_requires_verification = True auth.settings.registration_requires_approval =

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

2009-07-15 Thread Alejandro Fanjul
--- Enviado desde BlackBerry® --- Alejandro Fanjul www.mhproject.org -Original Message- From: mdipierro mdipie...@cs.depaul.edu Date: Wed, 15 Jul 2009 13:07:13 To: web2py Web Frameworkweb2py@googlegroups.com Subject: [web2py:26571] Re: Where's the roadmap? Would it make a difference