Re: [web2py] Re: how to disable register item from the default upper right-hand side dropdown

2014-07-29 Thread steve van christie
please try :
settings.actions_disabled = ['register']

best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: help with examples

2013-06-08 Thread steve . van . christie
For examples u can learn it from web2py appliances too.
Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT

-Original Message-
From: Anthony abasta...@gmail.com
Sender: web2py@googlegroups.com
Date: Sat, 8 Jun 2013 10:29:37 
To: web2py@googlegroups.com
Reply-To: web2py@googlegroups.com
Subject: [web2py] Re: help with examples

There are a number of resources linked from the website: 
http://www.web2py.com/init/default/documentation, including 
http://killer-web-development.com/ and 
http://www.youtube.com/playlist?list=PL5E2E223FE3777851. If that doesn't do 
it for you, come back with some specific questions.

Anthony

On Saturday, June 8, 2013 6:05:27 AM UTC-4, Herman wrote:

 Hello,
 I am new to Web2py and right now i am learning basics of it.I am bit 
 confused that how python code is embeded in HTML.The database related 
 programming and all other examples seems confusing to me.Can someone 
 provide me some links or something to get more understanding of these 
 examples.
 Thanks.


-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: datetime diff between tables

2013-03-31 Thread steve . van . christie
I've already built it from the scratch (new data, new application) for all your 
recommendation function above. The data for created on is set by default in 
function signature in db.py. I can share the full apps, if you want.

Any recommendation how to solve this?
Thank you very much 
Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT

-Original Message-
From: Massimo Di Pierro massimo.dipie...@gmail.com
Sender: web2py@googlegroups.com
Date: Sun, 31 Mar 2013 18:41:17 
To: web2py@googlegroups.com
Reply-To: web2py@googlegroups.com
Subject: [web2py] Re: datetime diff between tables

I do not think there is a problem with the function. I think there is a 
problem with the data. 

On Sunday, 31 March 2013 20:38:06 UTC-5, 黄祥 wrote:

 with tdiff function have same result it's give 0.00 as the result.

 yes, i've tried the difference both (more than 1 day and in the same day) 
 but all of it return 0 when i set duration is integer, 0:00:00 when i set 
 duration in datetime and 0.00 when i set duration in double.

 when i try it with 1 table the compute can work with datetime format for 
 both of different time (more than 1 day and in the same day).
 e.g.
 db.define_table('activity',
 Field('subject'),
 Field('activity_type', 'list:string'),
 Field('contact', 'reference contact'),
 Field('description', 'text'),
 Field('scheduled_start', 'datetime'),
 Field('due_date', 'datetime'),
 Field('actual_start', 'datetime'),
 Field('actual_end', 'datetime'),
 *Field('duration', compute=lambda r: 
 r['actual_end']-r['actual_start']),*
 Field('priority', 'list:string'),
 Field('status', 'list:string'),
 auth.signature)

 have another solution for handle this thing?
 thanks a lot before


-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: Smartgrid: How to display value from foreign table in a table when only foreign key is in table

2013-02-25 Thread steve van christie
please fill with whatever name you want
Application name: testdict
Upload a package: (path where you downloaded from dropbox file :
web2py.app.TechDictionary.w2p)
click install

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: centralize file view *.html

2013-02-14 Thread steve van christie
already, i even tested it :

*example code that not work*
*views/block_footer.html*

{{block footer}}
custom_footer
{{end}}

*views/default/blog.html*
*1.*
*
*{{extend 'layout.html'}}
{{include 'block_footer.html'}}

i think the server is confused about which block footer that they will use,
so the out put is not as expected, when using include (number 1) and using
extend (number 2)

any hints, or suggestion about this?

thank you so much in advance

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: create query for join multiple table

2013-02-02 Thread steve van christie
my purpose is to fetch all the data (company, invoices) of the user who
created the  invoices
i mean the part that make me confuse is i think
db.auth_user.company_id==company_id
is same like
db.auth_user.company_id==db.company.id
how do you think?
thank you so much for your detail explaination niphlod

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: retail web application using web2py

2013-01-29 Thread steve van christie
i've already tried that appliance and learn a lot from it.
actually that i want is to be able to add multiple form field and then put
it on multiple tables.
the one that i've found is sheepit jquery plugins.
the problem that i found when i learn from shopping cart concept it's hard
to use 1 form for multiple table (header and detail) for store the
transaction

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] web2py.com is down

2012-01-22 Thread steve van christie
same in here

On Sun, Jan 22, 2012 at 3:23 PM, Bruno Rocha rochacbr...@gmail.com wrote:



 On Sun, Jan 22, 2012 at 6:15 PM, Anthony abasta...@gmail.com wrote:

 http://www.downforeveryoneorjustme.com/web2py.com:

 It's not just you! http://web2py.com looks down from here.



 Yesterday the site was down for me, it is occurring every day since the
 last week.
 --

 Bruno Rocha
 [http://rochacbruno.com.br]




Re: [web2py] Re: web2py application to run linux command

2012-01-03 Thread steve van christie
thank you so much for your hint, massimo, but, i'm still confused about it,
is there any documentation for that?
i plan to make a form field for the parameter, and then after submit, it
will execute the linux command.

On Wed, Jan 4, 2012 at 10:33 AM, Massimo Di Pierro 
massimo.dipie...@gmail.com wrote:

 os.system(ls -l  ls.log)

 or better subprocess.Popen() which allows to start a process in
 one request, leave it running, capture the stdout and retrieve it
 later in a different http request.

 Look how applications/admin/gae.py handles the GAE sdk

 On Jan 3, 9:04 pm, 黄祥 steve.van.chris...@gmail.com wrote:
  hi,
 
  is it possbile to make web2py application to run linux command? i want to
  make a web application like cobbler web, web bacula base on web2py.
 
  thank you very much before


Re: [web2py] Happy new year

2012-01-01 Thread steve van christie
akemashite omedetou gozaimasu, minna san...
\(^o^)/

On Sun, Jan 1, 2012 at 2:28 AM, Ivan Vilches Basaul 
ivan_vilc...@hotmail.com wrote:

 Happy new yearrr !

 Iván Vilches Basaul

 El 01-01-2012, a las 4:26, Massimo Di Pierro massimo.dipie...@gmail.com
 escribió:

  Happy new year everybody!



Re: [web2py] Re: Merry christmas

2011-12-24 Thread steve van christie
meri kurisumasu minna san
\(^o^)/


Re: [web2py] Re: header detail transaction form in one page

2011-11-20 Thread steve van christie
thank you so much for your hint, is it possible to use the sqlform and crud
to do header detail form in one page? right now i'm still learning to use
it using standard form.

On Mon, Nov 21, 2011 at 1:27 PM, pbreit pbreitenb...@gmail.com wrote:

 In web2py:

 redirect('http://www.web2py.com')

 But you're using Web2py all wrong if you do this. Have you read up on how
 Web2py processes forms?

 http://web2py.com/book/default/chapter/03#Postbacks
 http://web2py.com/book/default/chapter/07



Re: [web2py] Re: input user password not work on 1.99.2 stable

2011-10-17 Thread steve van christie
during login it return invalid login, the user first name, last name and
email can be inserted but the password is blank on the database, so that i
can't login, according to the example script, i've already define it's
password.
i don't know where is my fault, i've using web2py 1.99.2 stable and python
2.7.
do you have any way out to define the user password on db wizard populate?

thank you so much before.


On Tue, Oct 18, 2011 at 10:15 AM, Massimo Di Pierro 
massimo.dipie...@gmail.com wrote:

 In which way it does not work?

 On Oct 17, 9:59 pm, 黄祥 steve.van.chris...@gmail.com wrote:
  Hi all,
 
  i've tried using db_wizard_populate to insert the users and it's
  passwords, in the previous version it's work fine.
  did anyone have an idea to fixed it?
 
  thanks a lot before.
 
  ex.
 
  # models/db_wizard_populate.py
  from gluon.contrib.populate import populate
  if db(db.wiki).isempty():
  db.auth_user.bulk_insert([{'first_name' : 'a',
 'last_name' : 'a',
 'email' : '...@a.com',
 'password' :
  db.auth_user.password.validate('a')[0]},
{'first_name' : 'b',
 'last_name' : 'b',
 'email' : '...@b.com',
 'password' :
  db.auth_user.password.validate('b')[0]}])


Re: [web2py] Re: input user password not work on 1.99.2 stable

2011-10-17 Thread steve van christie
a, i see, so that's my fault part, i've already test your suggestion, and
it's work fine.
thank you so much for your explaination, anthony.


On Tue, Oct 18, 2011 at 10:33 AM, Anthony abasta...@gmail.com wrote:

 Actually, I guess the insert still works, but when the password is shorter
 than the min_length, CRYPT converts it to an empty string.

 Try using 4-character passwords, or set auth.settings.password_min_length =
 1.

 Anthony


 On Monday, October 17, 2011 11:30:58 PM UTC-4, Anthony wrote:

 auth.settings.password_min_**length defaults to 4, and he's trying to
 insert a 1-character password, so the validation through CRYPT is failing.

 On Monday, October 17, 2011 11:15:35 PM UTC-4, Massimo Di Pierro wrote:

 In which way it does not work?

 On Oct 17, 9:59 pm, 黄祥 steve@gmail.com wrote:
  Hi all,
 
  i've tried using db_wizard_populate to insert the users and it's
  passwords, in the previous version it's work fine.
  did anyone have an idea to fixed it?
 
  thanks a lot before.
 
  ex.
 
  # models/db_wizard_populate.py
  from gluon.contrib.populate import populate
  if db(db.wiki).isempty():
  db.auth_user.bulk_insert([{'**first_name' : 'a',
 'last_name' : 'a',
 'email' : '...@a.com',
 'password' :
  db.auth_user.password.**validate('a')[0]},
{'first_name' : 'b',
 'last_name' : 'b',
 'email' : '...@b.com',
 'password' :
  db.auth_user.password.**validate('b')[0]}])




Re: [web2py] Re: web2py ranked best out of Six web frameworks

2011-08-10 Thread steve van christie
pardon, i don't know why the easy of development is under web.py? is there
anyone know the reason? thanks


Re: [web2py] web2py 1.98.2 is OUT

2011-08-03 Thread steve van christie
great work, thank you so much


Re: [web2py] Re: web2py - Best Practice

2011-07-13 Thread steve van christie
like this, +1