[web2py] groupby issue in grid while downloading csv

2016-05-11 Thread Vikash Sharma
Hi All,

I have following grid displayed on the screen

grid = SQLFORM.smartgrid(db.area, groupby=db.area.name)

query runs fine and due to groupby clause, instead of, lets say, 180 
records only 6 records are displayed on screen. 

But on click of csv, html, json etc links below smartgrid, the file 
downloaded contains all 180 records, I am expecting to see only 6  while 
downloading i.e. whatever visible in the smatgrid. 

Kindly help. 

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


[web2py] Smartgrid internal table ordering

2016-02-09 Thread Vikash Sharma

I have a smartgrid as follows


*grid = SQLFORM.smartgrid(db.receipt, linked_tables=['items'], orderby="id 
DESC")*

Using this, *receipt *table is shown correctly as order in descending 
order. But internal table *items* is also getting ordered in descending 
order. 

If I do  

*grid = SQLFORM.smartgrid(db.receipt, linked_tables=['items'], 
orderby="receipt.id DESC")*

Then *receipt* table is fine but on click/view for *items* table, it gives 
error that *receipt.id* is unknown column. 

I want outer table ordered DESC but not internal/child table. 

Please help. 

-- 
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: module vs plugin

2015-07-15 Thread Vikash Sharma
Module defines grouping logic at one place, the way you want to design it.
Example, all customer database, order details, vendor details and
respective operation are organised  implemented separately. Read more
about cohesion and coupling on wiki

Plugins is more like a features you can attach to your system or removed,
if required. Now this plugin implementation might modularized within itself
for better design. Example, you include features in eclipse ide as plugins.
Another example would be: Lets say you are selling a base product to all
your customer at a price X. Now, based on customer requirement, specify
features/plugins can be added or attached to this base system.



Regards,
Vikash Sharma
vikash0...@gmail.com

On Wed, Jul 15, 2015 at 10:17 PM, Fabiano Almeida fabi...@techno7.com.br
wrote:

 Hi Anthony,

 I think add plugins to build a system. Eg customer registration, product
 registration, shopping trolley, service order, reports, etc.

 thks

 Fabiano.

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


-- 
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: My son made a new web2py logo

2015-06-04 Thread Vikash Sharma
I second Carlos
web2py need a better name. Better now, before transition to Web3py happens.
I mean change in version should not change the product name.

Regards,
Vikash Sharma
vikash0...@gmail.com

On Tue, Jun 2, 2015 at 8:05 AM, JorgeH jorgeh...@gmail.com wrote:

 that logo is soo dull and boring...

 ps. no ofense.


 On Monday, June 1, 2015 at 1:06:16 PM UTC-5, Massimo Di Pierro wrote:

 Time to revamp the web site?

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


-- 
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: My son made a new web2py logo

2015-06-04 Thread Vikash Sharma
http://www.wepy.com/

domain not available

Regards,
Vikash Sharma
vikash0...@gmail.com

On Wed, Jun 3, 2015 at 3:34 PM, António Ramos ramstei...@gmail.com wrote:

 i suggest

 WePy

 reads a litle better!

 are you wepy now ?

 2015-06-02 15:43 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com:

 web2py was called gluon. Than I was given 24 hours to change or be
 sued. In retrospect I should have them sue me because of the publicity and
 because I would have won. Anyway, in 24 web2py was the only thing I could
 find that returned no hits from the trademarks database.


 On Monday, 1 June 2015 17:12:39 UTC-5, Carlos Costa wrote:

 A little off now but I waited for a moment to say that.
 IT IS ONLY AN OPINION.

 Maybe the only thing I do not like in Web2py is its name.
 I really love Web2py and use it and advocate it but this name is not a
 strength.

 Many frameworks have better sounding names.

 I would consider rename it in the next BIG version.
 Web3py sounds even worst.

 Its one of the best tools I have used. I think it deserves a better name.
 I know it is a big change...
 I know I should have suggestions, but no, I don't have any for now.
 But give a look at other frameworks and see how they are more
 marketable.

 I made a list of some framework names I found are some way better:
 BlueBream, CherryPy, CubicWeb, Django, Flask, Grok, Nagare, Pyjamas,
 Pylons, Pyramid, TACTIC, Tornado, TurboGears, Webware, Zope 2, Camping,
 Padrino, Ruby on Rails, Sinatra, Merb, PureMVC, AIDA/Web, Application
 Express, Compojure, Flex, Grails, Kepler, Morfik, Ocsigen, Opa, OpenACS,
 Seaside, Zotonic, ColdBox Platform, Fusebox, Mach-II, Model-Glue, Apache
 Click, Apache OFBiz, Apache Sling, Apache Struts, Apache Tapestry, Apache
 Wicket, FormEngine, Grails, ItsNat, JavaServer Faces, JBoss Seam, OpenXava,
 Play, RIFE, Spring, Stripes, Vaadin, Wavemaker, WebObjects, ztemplates,
 Catalyst, Dancer, Mason, Maypole, Mojolicious, CakePHP, CodeIgniter,
 Drupal, Fat-Free Framework, FuelPHP, Fusebox, Joomla, Lithium, Nette
 Framework, PRADO, SilverStripe, Solodev CMS, Symfony, Zend Framework,
 Zikula, Pyjamas, Pylons, Pyramid, TACTIC, Tornado, TurboGears, Webware,
 BlueBream, Zope, Application Express, Flex, Kepler, Lift, Ocsigen, Opa,
 OpenACS, Seaside,

 For %py% ones, the most I like is CherryPy :)

 2015-06-01 17:11 GMT-03:00 Richard Vézina ml.richard.vez...@gmail.com:

 Yes that my point not WII but WII...

 Anyway, it nice!

 :)

 Richard

 On Mon, Jun 1, 2015 at 4:07 PM, Massimo Di Pierro 
 massimo.dipie...@gmail.com wrote:

 Anyway, I am not suggesting a new logo. I am thinking if anybody wants
 to submit a new more polished examples app that preserves the content, I 
 am
 all for it.


 On Monday, 1 June 2015 14:57:03 UTC-5, Robert Porter wrote:

 You could almost combine the / / of the W with the II and the
 pi symbol into one character.

 On Monday, 1 June 2015 11:06:16 UTC-7, Massimo Di Pierro wrote:

 Time to revamp the web site?

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


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




 --


 Carlos J. Costa
 Cientista da Computação  | BS Computer Science
 Esp. Gestão em Telecom   | PgC Telecom Mangement
 º))

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


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

Re: [web2py] Re: web2py 2.11.2 is OUT

2015-05-31 Thread Vikash Sharma
Last time I raised this issue, I was asked to refresh chrome cache, as
chrome might be using old cached data.
And it worked for me.

Regards,
Vikash Sharma
vikash0...@gmail.com

On Sun, May 31, 2015 at 12:15 PM, Simon Ashley gregs...@gmail.com wrote:

 On windows 8.1 and Chrome, I'm finding the Welcome screen badly formatted
 (no visible menus, unusual buttons etc).
 Under Firefox and IE11. its fine.


 https://lh3.googleusercontent.com/-yQKhCtaMTqo/VWqtmgjCH9I/Aaw/hcHQ7F-pxCs/s1600/chrome%2B2.11.2.png


 On Sunday, 31 May 2015 02:37:25 UTC+10, Massimo Di Pierro wrote:

 There was a problem with 2.11.1 and it has been addressed in 2.11.2.
 Please skip 2.11.1 and report any issue you may find with 2.11.2.

 Massimo

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


-- 
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] web2py need newer and cooler sample applications

2015-04-18 Thread Vikash Sharma
+1

Regards,
Vikash Sharma
vikash0...@gmail.com

On Sat, Apr 18, 2015 at 8:55 PM, Osswalt wmaco...@gmail.com wrote:

 I've been studying web2py some time now... Very cool indeed.

 I find frustrating not having fresh and cool samples to look at
 Most of Massimo's appliances are three years old and are just very simple
 applications.
 Most of powered-by sites are ugly or not working anymore.

 I think web2py deserve a wider adoption but probably such real showcase
 lacking keeps away a lot of people.

 Maybe the core developers should take some time to revamp the appliances
 section with fresh and cool sample application in order to buy in new
 people. More people means more projects, more attention, more money,
 quicker growth...

 Don't know if it's just me or other people here feel the same.

 Greg


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


-- 
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] web2py need newer and cooler sample applications

2015-04-18 Thread Vikash Sharma
1. I have purchased themes from http://themeforest.net/ : Would really be
interesed to get easy setup option in with examples application. I have 2-3
project in my mind but delaying due to good understanding.
2. Example app: should include samples webapp for data migration: e.g.
extract_mysql_models.py . Why to run from cmd line. It gives lot of
dependcies error. Create wizard based app.
3. More wizard based app creation
4. More easy external theme integration.

This much for time being. I think I understood the question :)



Regards,
Vikash Sharma
vikash0...@gmail.com

On Sat, Apr 18, 2015 at 11:58 PM, Massimo Di Pierro 
massimo.dipie...@gmail.com wrote:

 we were talking about removing the examples application completely.
 I am open to ideas.


 On Saturday, 18 April 2015 13:23:31 UTC-5, Vikash Sharma wrote:

 +1

 Regards,
 Vikash Sharma
 vikash0...@gmail.com

 On Sat, Apr 18, 2015 at 8:55 PM, Osswalt wmaco...@gmail.com wrote:

 I've been studying web2py some time now... Very cool indeed.

 I find frustrating not having fresh and cool samples to look at
 Most of Massimo's appliances are three years old and are just very
 simple applications.
 Most of powered-by sites are ugly or not working anymore.

 I think web2py deserve a wider adoption but probably such real showcase
 lacking keeps away a lot of people.

 Maybe the core developers should take some time to revamp the appliances
 section with fresh and cool sample application in order to buy in new
 people. More people means more projects, more attention, more money,
 quicker growth...

 Don't know if it's just me or other people here feel the same.

 Greg


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


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


-- 
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: Git Clone : Seems bad first page

2015-03-28 Thread Vikash Sharma
Thanks, looks good now.
I tried in IE, it was working, so then reset chrome cookies and it worked.


Regards,
Vikash Sharma
vikash0...@gmail.com

On Wed, Mar 25, 2015 at 10:01 AM, Massimo Di Pierro 
massimo.dipie...@gmail.com wrote:

 it should not look like that. Either a css is missing or your browser is
 caching some old style file (most likely). Try force a reload and check the
 JS console for errors.


 On Tuesday, 24 March 2015 22:14:49 UTC-5, Vikash Sharma wrote:

 Hi ,

 I have cloned src today from git and found this page. Is this new design
 or commit by mistake?


 https://lh6.googleusercontent.com/-tQJEK-ma7I8/VRGuc3pRIFI/SYY/5-CUnfMS4S8/s1600/web2py%2Badmin%2Bpage.PNG




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


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


[web2py] Git Clone : Seems bad first page

2015-03-24 Thread Vikash Sharma
Hi ,

I have cloned src today from git and found this page. Is this new design or 
commit by mistake?

https://lh6.googleusercontent.com/-tQJEK-ma7I8/VRGuc3pRIFI/SYY/5-CUnfMS4S8/s1600/web2py%2Badmin%2Bpage.PNG




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


[web2py] web2py creating subfolders

2015-03-20 Thread Vikash Sharma
Hi
I would like to create subfolders for uploading documents as per name 
provided by user. Example

dict_doc_type = [Java, J2EE, Python]
db.define_table('document',
Field('document_type', type='string', label=T('Document 
Type'), default=M, requires=IS_IN_SET(dict_doc_type)),
Field('doc_filename', type='string', readable=False, 
writable=False),
Field('doc', type='upload', label=T('Upload File'), 
uploadseparate=True))

Now 'doc' field value should be same as what was selected in 'doc_type' 
fieled while submitting the form. That is when user fills online form, he 
will select a category and that value will be used as parent for storing 
uploaded file.

Thanks in advance


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


[web2py] How to add custom themeforest theme to web2py

2015-03-16 Thread Vikash Sharma
Question also asked at: 
http://stackoverflow.com/questions/29072416/web2py-adding-themeforest-theme

How to add custom theme in web2py. Example: in themeforest.net, one of the 
theme have folder structure as follows:

https://lh5.googleusercontent.com/-LSDPO1-nqR0/VQaVTkyAozI/SW8/jKaAKtHUs3Q/s1600/Capture.PNG
Thanks in advance
Vikash

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