you have to specify that with css.
add this:
.two {
display:none;
}
22 Mart 2016 Salı 21:22:14 UTC+2 tarihinde billmac...@gmail.com yazdı:
>
> In the book example page 501
>
> Hello
> World
>
> jQuery(document).ready(function(){
>
in mdipierro.github.io/stupid.css/widgets/index.html line 32: (chrome view
source: view-source:http://mdipierro.github.io/stupid.css/widgets/index.html
)
should be:
i am not expert js or css. this is all I can do.
14 Mart 2016 Pazartesi 02:06:46 UTC+2 tarihinde Massimo Di Pierro yazdı:
>
>
pyfpdf is installed on web2py.
docs and tutorials can be found
here: http://pyfpdf.readthedocs.org/en/latest/Web2Py/index.html
11 Mart 2016 Cuma 21:36:41 UTC+2 tarihinde prashant joshi yazdı:
>
> i want crete sql form if i click on print button then form printout in
> pdf format
> how it
i haven't find solution yet but i found rigth source to
explore. http://pyfpdf.readthedocs.org/en/latest/Web2Py/index.html
if i find, i will post here.
1 Mart 2016 Salı 21:04:44 UTC+2 tarihinde xmarx yazdı:
>
> i have a page in charset utf-8.
>
> say testpdf.html
>
> when
i have a page in charset utf-8.
say testpdf.html
when i type testpdf.pdf, some of non-ascii characters have been lost. what
can i do?
second question, have can i specify styles of paragaphs, titles etc? it
doesn't recognize some of css styles.
thank you.
--
Resources:
- http://web2py.com
thank you. it works.
10 Şubat 2016 Çarşamba 15:46:37 UTC+2 tarihinde Jim S yazdı:
>
> I got this working!
>
> Here is what I did.
>
> 1. Run the normal web2py installation script for nginx/ubuntu
> 2. sudo nano edit /etc/systemd/system/emperor.uwsgi.service
>
> Add these lines
> [Unit]
>
users=db(db.user.stato==True).select()
for user in users:
#your code here
17 Şubat 2016 Çarşamba 10:18:40 UTC+2 tarihinde Alessio Varalta yazdı:
>
> Hi I have a class group and a class user for example. So i have a loop
>
> for row_user in row_group.user.select()
>
> now i want only the
+1
10 Şubat 2016 Çarşamba 15:32:24 UTC+2 tarihinde Gerd yazdı:
>
> Hi!
>
> I would like to see web2py as a package for the Synology NAS, so i wrote
> an inquery to the company at
> https://www.synology.com/en-global/form/inquiry/feedback
>
> If you feel the same i suggest you to fill out the
db.define_table('Person',
Field('last_name', 'string'),
Field('name', 'string'),
Field('telephone', 'string'),
Field('email', 'string'),
Field('nationality','reference Nationalities',default=1),
-ewwf | grep uwsgi
>>
>> results should look something like this:
>>
>> [image: Inline image 1]
>>
>> -Jim
>>
>>
>>
>> On Fri, Feb 5, 2016 at 3:18 PM, xmarx <selc...@gmail.com >
>> wrote:
>>
>>> ubuntu 15.10
i install on ubuntu web2py, nginx and uwsgi.
when i run web2py (sudo python web2py.py) admin says Running on Rocket
1.2.6, Python 2.7.10.
where did i mistake? it must run on nginx, am i right?
thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
deployment-recipes#Linux-and-Unix
>>
>> -Jim
>>
>> On Friday, February 5, 2016 at 11:33:57 AM UTC-6, xmarx wrote:
>>>
>>> i install on ubuntu web2py, nginx and uwsgi.
>>>
>>> when i run web2py (sudo python web2py.py) admin says Runni
bout how it is behaving.
>
> -Jim
>
>
> On Friday, February 5, 2016 at 1:28:10 PM UTC-6, xmarx wrote:
>>
>> i read the deployment recipes page and nginx section again and again. i
>> don`t see about `after install`
>>
>> i try install this script
>> h
add this code to your view anywhere you want.
{{=response.flash}}
in layout.html
{{=response.flash or ''}}
5 Şubat 2016 Cuma 09:57:25 UTC+2 tarihinde Joe yazdı:
>
> If I am not using {{extend 'layout.html'}} how can I make the
> response.flash working in my template?
> Thanks.
>
--
i install web2py on hub.turnkeylinux.org. web2py version is 2.12.3. when i
upgrade web2py application admin gives an error but i can't see error page.
from then, i can't do anything with web2py admin interface. i message to
turnkeylinux support center but they haven't reply yet. so i have few
/ have
an error localhost. nginx is running. but uwsgi is not active.
xmarx@xmarx-VirtualBox:~$ sudo service uwsgi start
[sudo] password for xmarx:
Failed to start uwsgi.service: Unit uwsgi.service failed to load: No such
file or directory.
how can i solve this problem?
--
Resources:
form = FORM(INPUT(_name='img', _type='file',
upload=True),INPUT(_type='submit'))
19 Aralık 2015 Cumartesi 16:21:26 UTC+2 tarihinde RAGHIB R yazdı:
>
> form = FORM(INPUT(_name='img', upload=True),INPUT(_type='submit'))
>
> This is not working. What's wrong here?
>
--
Resources:
-
thanks Pierre. but i don't think i understand you clearly, sorry.
if i understand you correctly, you say why all checkbox inputs have same
name (q). but they are checkboxes. they must have a same name. i will get
selected inputs with request.post_vars or request.vars.
when i submit first form,
hi all.
page is here: https://xmarx.pythonanywhere.com/deneme/default/test1
i have a page has form that manually created. if submits page redirect new
page that has a SQLFORM. i cannot have a result form second page.
def test1():
questions=[1,2,3,4,5,6,7,8,9,10]
return locals()
to make a form accepts only images see
this: http://www.w3schools.com/tags/att_input_accept.asp
you can add _accept="image/*"
19 Aralık 2015 Cumartesi 16:21:26 UTC+2 tarihinde RAGHIB R yazdı:
>
> form = FORM(INPUT(_name='img', upload=True),INPUT(_type='submit'))
>
> This is not working. What's
('name'),Field('questions').)
i didn't use list:reference. i store question ids as string seperated with
comma.
20 Aralık 2015 Pazar 21:16:24 UTC+2 tarihinde Anthony yazdı:
>
> On Sunday, December 20, 2015 at 6:39:45 AM UTC-5, xmarx wrote:
>>
>>
>> def test2()
in controller:
def index():
import os
form=SQLFORM.factory(Field('name'),Field('file',
'upload',uploadfolder=os.path.join(request.folder,'uploads')))
if form.process().accepted:
request.flash='file uploaded!'
return dict(form=form)
in view index.html:
{{extend
you can edit layout.html.
for delete menu you can customize this lines.
{{=response.flash or ''}}
{{=response.logo or ''}}
{{='auth' in globals() and auth.navbar(mode="dropdown") or ''}}
{{if response.menu:}}
i want to learn number of rows from Rows object in view.
in controller:
rows=db(db.test).select()
in view:
{{=rows.length}}
id didn't work.
AttributeError: 'Rows' object has no attribute 'length'
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
thanks Richard. but it didn't work. table works.
Test
1
2
1
2
1
2
1
2
3
4
5
6
this code in browser look like this:
This is a shortcut that allows you to pass multiple arguments to a function
directly list. source:
http://stackoverflow.com/questions/36901/what-does-double-star-and-star-do-for-python-parameters
TABLE(*[TR(*rows) for rows in table])
TABLE
is a function that can takes list argument.
you can set title of the post at vars.
for example:
/application/cms/post/12345?title=çışöğüã+ğüã+ğüã
or you can set non-unicode letters to similar unicode letters. that
readable by reader.
for example:
/application/cms/post/12345/cisogua_gua_gua
30 Ağustos 2015 Pazar 02:03:38 UTC+3
It does have tags: https://groups.google.com/forum/#!tags/web2py
but unfortunatelyit doesn't using effectively. because i think. most
messages send and replied vie e-mail.
it would be nice to have the following features in 'new forum' or whatever.
1. transfer or copy all google groups
In db, Does referenced field stored as formatted, or as id?
for example:
db.define_table('group',
Field('name'),
format = %(name)s)
db.define_table('person',
Field('name'),
Field('sirname'),
hi!
when i click from design page
(http://127.0.0.1:8000/admin/default/design/examples) download plugins
from repository button, i get an error like this:
TypeError: list indices must be integers, not str
screenshot is there.
Thank you.
--
Resources:
- http://web2py.com
-
30 matches
Mail list logo