i think you can achieve it with put the rich text editor in your form input
ref:
https://groups.google.com/forum/#!topic/web2py/OoZ1EI8OOmw
another way is with put the html code in your input text area form or
either use markmin.
the first is the easiest.
best regards,
stifan
--
Resources:
- h
The later nicely works. :)
Thanks.
On Wednesday, December 25, 2013 5:41:18 AM UTC+2, Massimo Di Pierro wrote:
>
> form.vars.f_org_member= auth.user.id
>
> should be done before the form is processed or better
>
> db.tablename.f_org_member.default = auth.user.id
>
> before the form is defined.
>
>
form.vars.f_org_member= auth.user.id
should be done before the form is processed or better
db.tablename.f_org_member.default = auth.user.id
before the form is defined.
On Tuesday, 24 December 2013 17:00:21 UTC-6, Avi A wrote:
>
> Hi,
> reading this:
> "Pre-populating the form
>
> It is always
Have you @import'ed Bootstrap CSS files into .less? Perhaps this will help.
вторник, 24 декабря 2013 г., 1:15:44 UTC+4 пользователь Sorgfelt написал:
>
> It sounds like a good idea. So, the first thing I tried was to make one
> class name for a standard data table/grid to use throughout my appli
Hi all.
I'm going mad on this problem.
Probably my lambda function for the represent products.brand is not correct
but I don't know where.
Like that ny application works, but I cannot add some products rows, web2py
says:" foreign key mismatch"
db.define_table('brands',
Field('id_
ok LightDot,
just to confirm the tweak i should do for the sake of stability. you are
saying that under each VirtualHost i should have a separate
WSGIDaemonProcess under it. or, i should remove the WSGIDaemonProcess from
the wsgi.conf file and place it under each domains VirtualHost section.
Hi,
reading this:
"Pre-populating the form
It is always possible to pre-populate a form using the syntax:
form.vars.name = 'fieldvalue'.."
I'm trying this:
{{=form.custom.begin}}
{{form.vars.f_org_member= auth.user.id}}
{{=form.custom.widget.f_org_rep}}
{{=form.custom.widget.f_org_member}}
Hi
How do you put links to other sites in a text that is stored in a database?
for example, I have a blogg where all coments, posts etc are stored in a
database. Everytime I add a post I do it from the admin interface by adding
new entries in the database. But adding a link in the text is not w
It sounds like a good idea. So, the first thing I tried was to make one
class name for a standard data table/grid to use throughout my application,
like so:
.datagrid {
.table;
.table-bordered;
.table-striped;
.table-condensed;
}
But I get errors from less that it can't find .table-str
Hey all,
Thanks for checking out Plotly! Basic story: Plotly is a graphing and
analytics platform that lets you code, analyze, and visualize your data
with others collaboratively. Then, you can share graphs, download them, and
embed them.
We're big fans of Sage and are eager to be a useful res
I'd suggest at least reading the DAL chapter of the book. My advice is that
if your project needs to query hundreds of legacy tables, DAL won't help
you. On the other end, if you have 20-30 tables is pretty easy to "learn"
the syntax and define tables with migrate=False that will avoid creating
web2py follows standardsa CSV is a Comma Separated Value file, that by
default are separated by a comma: your's is with semicolons, so I'd advise
parsing it with csv.reader (fiddling with separator and quotechar) and then
make your own import algo (once parsed, it's just a loop iterating ins
Hi all.
I have to import a lot of CSV files that have fields separated by ";".
In web2py it seems that only "," is accepted.
How can I upload a file and replace all ";" by "," ?
I've tried like that with replace but this attribute is not valid:
form = SQLFORM.factory(
Field('table',r
Ok, so you're using one mod_wsgi / web2py instance and map virtualhosts
into specific apps within. Looks like a neat solution, but it seems to be
problematic in the same way Leonel is describing for the Windows
environment. Basically, different virtualhosts under the same
WSGIDaemonProcess have
Hi I am a newbie to web2py, I would like to know if there is a way to
build the model of a database at run-time, for my application I have to
connect to a legacy database and making queries on it, thus I thought
that I need to build the model at run-time, I cane connect to the db with
dal
ok, so i wrote a new application and did the minimum to strip away the
other code and things i am doing to prove that this behaviour is quite
odd. i wrote this under web2py 2.4.6.
here is the added code for a default *db.py*:
#begin
db = DAL('postgres://postgres:passwd@localhost/test', pool_si
ok, so centos 6x is the way to go for the most stable, reliable, etc., in
excellence of computing? that is what you are saying, because i really
love centos and have been using it for years. but i have been doubting my
httpd.conf setups for a while because all of those settings and then add in
Anyone?
On Fri, Dec 20, 2013 at 6:05 PM, Vinicius Assef wrote:
> Hi guys,
> I'm playing around with CAS and faced this error:
> begin here
> The webpage at
> http://localhost:8000/cas/default/user/cas/login?service=http://localhost:8000/consumer/default/user/log
18 matches
Mail list logo