[web2py] language selector in layout.html

2012-07-05 Thread Fernando J
How is set a language selector in layout.html in order to any user may select any language during his session? Thanks in advance Fernando J.

[web2py] Args para URL en formulario

2012-06-21 Thread Fernando J
Hola Tengo un formulario en appadmin para dar de alta registros en una tabla En uno de los campos he de poner args para el HELPER URL En concreto, lo que quiero es meter un link y en algún caso que el href haga como en html cuando llamas a la propia página con # Gracias de antemano quien pueda

[web2py] Problemas com Mysql

2012-06-20 Thread Fernando J
I have an error with mysql (about reference): *1452, u'Cannot add or update a child row* The table is created with *db.define_table('navbar', Field(title, string), Field(url, string, requires=IS_EMPTY_OR(IS_URL())), Field(c, label=Controller), Field(f, label=Function),

[web2py] publiching both apache and web2py sites

2012-06-16 Thread Fernando J
Hello, I need some help: How is possible to serve both web pages from apache server and web2py apps in the same physycal machine? Thanks in advance!

Re: [web2py] publiching both apache and web2py sites

2012-06-16 Thread Fernando J
ideal es que apache pudiera implementar directivas que gesionaran hacia uno u otro aldo las solicitudes en función de la ubicación del dominio Saludos, Fernando J El sábado, 16 de junio de 2012 18:40:57 UTC+2, Marin Pranjić escribió: You need two VirtualHost configs http://httpd.apache.org

Re: [web2py] publiching both apache and web2py sites

2012-06-16 Thread Fernando J
I got it! To any one who need id: 1.- First in httpd add ports( i.e.) 8000 and 8443 for Listen El sábado, 16 de junio de 2012 18:34:49 UTC+2, Alec Taylor escribió: You can host web2py on Apache, but if you must keep them separate then I recommend using different port numbers.