Hi Sitfan,
I wasn't sure if I could use show_if because I want to evaluate a value
IS_IN_SET(['choice_a','choice_b')
I'd like to show a file upload field if choice_a is selected and a text
field if choice_b is selected.
On Wednesday, January 18, 2017 at 2:23:44 AM UTC-5, 黄祥 wrote:
>
> had
had you tried conditional fields show_if?
ref:
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Conditional-fields
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
perhaps it's related with css, bootstrap 3 in 2.14.6 doesn't support sub
sub menu
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)
---
Hi ,
I am trying to add sub sub menu items, as follows:
response.menu += [
(SPAN('web2py', _class='highlighted'), False, 'http://web2py.com', [
(T('My Sites'), False, URL('admin', 'default', 'site')),
(T('This App'), False, URL('admin', 'default', 'design/%s' % app),
Hello,
I've been trying to string together pieces from the book and multiple
forums for working with the SmartGrid edit forms and I'm not sure the best
way to validate certain fields...
I am currently using jQuery to hide fieldA if fieldB is selected, but I am
running into an error with
each organization to become a group, then what I use groups for right now will
be permissions, this is probably the best route.
This Idea will work now about data access also we need maintain Controller
function which will filter out the data based on organization before serving to
user.
We
perhaps you can put delete() or truncate() function to delete data in
database table in form accepts() or form accepted() function
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
how can we delete data automatically from a table in database after
clicking submit button of a form in web2py
--
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
Yes a user can be a member of several organizations which needs to approve
him and decide on what permissions the user will have, each organization is
managed by users with admin powers within that organization.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
On Tuesday, January 17, 2017 at 4:05:28 PM UTC-8, Dave S wrote:
>
> On Tuesday, January 17, 2017 at 5:45:48 AM UTC-8, Áureo Dias Neto wrote:
>>
>> Guys, i have two pages on a report, generated by FPDF, but i want
>> that pages, have differente Header, thats is defined in the Class Header..
>>
>
>
On Tuesday, January 17, 2017 at 5:45:48 AM UTC-8, Áureo Dias Neto wrote:
>
> Guys, i have two pages on a report, generated by FPDF, but i want
> that pages, have differente Header, thats is defined in the Class Header..
>
Sorry, I've only done very simple stuff in FPDF so far (for demonstration,
Can a user be a member of several organizations ?
Who is managing organizations?
How somebody get to be a member of an organization ?
With very little information available I would have an organization table
and each newly registered user will get his own organization and will be
his
On Tuesday, January 17, 2017 at 7:29:44 AM UTC-8, Sankhajit Das wrote:
>
> hey. I have created a mysql database in my web2py app.
>>
> now i want to create another sqlite database such that whatever data i
> enter
> in sqlite database. it automatically gets copied in mysql database.
> Pls
On Tuesday, January 17, 2017 at 6:44:01 AM UTC-8, Sankhajit Das wrote:
>
> hey. I have created a mysql database in my web2py app.
>>
> now i want to create another sqlite database such that whatever data i
> enter
> in sqlite database. it automatically gets copied in mysql database.
> Pls
On Tuesday, January 17, 2017 at 2:01:28 PM UTC-5, Gael Princivalle wrote:
>
> I mean:
> https://www.mtbconnection.com/OneSignalSDKWorker.js
> It's required to have this file on the root level.
> I use a parametric router, do you know how I can do it?
>
> routers = dict(
> BASE = dict(
>
I think you could accomplish that with the _common_filter. That is what I
did on the app where I used it and it worked well.
-Jim
On Tuesday, January 17, 2017 at 11:33:02 AM UTC-6, Leonel Câmara wrote:
>
> I'm not sure I want to restrict each organization to a single domain yet.
> But yes
I mean:
https://www.mtbconnection.com/OneSignalSDKWorker.js
It's required to have this file on the root level.
I use a parametric router, do you know how I can do it?
routers = dict(
BASE = dict(
domains = {
"www.mtbconnection.com" : "mtbconnection",
}
),
I'm not sure I want to restrict each organization to a single domain yet.
But yes it's a possibility, I don't need to necessarily use the domain name
to do the filtering. Although I would also like them to be able to
optionally share some data among them so I would also need to solve that
Is there a reason why the Multi-tenancy or Common Filters wouldn't work?
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Common-fields-and-multi-tenancy
I've used common filters in the past with success.
-Jim
On Tuesday, January 17, 2017 at 10:59:27 AM UTC-6,
I'm in the process of turning an application that was used by a single
organization into one that will be used by many, I'm using regular Auth and
auth groups to manage which users can do what according to what groups they
have memberships on.
The first problem I'm facing is that the users
On Tuesday, January 17, 2017 at 9:50:53 AM UTC-5, Gael Princivalle wrote:
>
> It's required to have the 3 SDK file accessible from the top level root.
> See here at 2.3:
> https://documentation.onesignal.com/docs/web-push-sdk-setup-https
>
> For an html file I know how to do it, but for json or js
>
> hey. I have created a mysql database in my web2py app.
>
now i want to create another sqlite database such that whatever data i
enter
in sqlite database. it automatically gets copied in mysql database.
Pls somebody help me do ds with full code.
--
Resources:
- http://web2py.com
-
Thanks Anthony, OneSignal seems a good solution.
I took a look to the API.
https://documentation.onesignal.com/reference
Some examples:
https://documentation.onesignal.com/reference#create-notification
I'll try to use it also because it could be a simple all-around solution,
when web push
>
> hey. I have created a mysql database in my web2py app.
>
now i want to create another sqlite database such that whatever data i
enter
in sqlite database. it automatically gets copied in mysql database.
Pls somebody help me do ds with full code.
--
Resources:
- http://web2py.com
-
Guys, i have two pages on a report, generated by FPDF, but i want
that pages, have differente Header, thats is defined in the Class Header..
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Hi,
Just so it's clear for anyone having the same issue, Anthony's tip was
right on target. All is working now.
Conclusion: you must use the update_record(field=new_value) format if
you're using authentication, and not the update_record() format.
Thanks again to all that chipped in and Anthony
On Monday, January 16, 2017 at 8:01:56 PM UTC-8, N. Fischer wrote:
>
> Hi all,
> I am currently working with a friend on a web2py project. This is our
> first time, we do anything with web2py and we managed to build the reddit
> clone and do little improvements, Massimo Di Pierro did in his
On Monday, January 16, 2017 at 8:01:56 PM UTC-8, Manjinder Sandhu wrote:
>
> Hi Andrey/Niphlod,
>
> *Is there a way I can connect servers via SQLite?*
>
> *Regards,*
>
> *Manjinder*
>
If you mean for the scheduler , sure. The connection string handles that
(although I've only connected to
On Monday, January 16, 2017 at 8:01:52 PM UTC-8, Bishal Saha wrote:
>
> I am trying to create a form which will have multiple forms and where the
> first form will have two radio buttons and one of them will work like - if
> it is selected then all the other fields of the other forms wont show
29 matches
Mail list logo