Re: [web2py] new style of welcome app

2018-03-09 Thread Al Ex
Probably, you also need to add "dropdown-menu-right" to this:




Final:




For explanations see:
https://v4-alpha.getbootstrap.com/components/dropdowns/#menu-alignment


On March 5, 2018 at 2:12:54, Andrea Fae' (and...@gmail.com) wrote:

I have different apps in my web2py environments. Web2py apps built before a
certain date have a stile with "login" link in the right upper side of the
web page, while the new apps, for example welcome app are with another
style with login link anchor in the left side, just after the menus, and
after a "search" box. Why?
How to delete the search box and have the login in the right part of the
page?
Thanks
--
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] Re: web2py_osx.zip seems way out of date ???

2018-03-09 Thread marco mansilla
I recently got this problem in Linux Debian, after upgrading web2py, fixed 
with

$sudo pip install pydal -U



On Saturday, February 24, 2018 at 3:03:05 AM UTC-3, jim kaubisch wrote:
>
> Thanks for the reply, Dave.
>
> There have been a number of issues surrounding the last couple of versions 
> of Mac OS which come down to the fact that Apple has tightened security of 
> the core of the system, As a result of that, some third party code doesn't 
> always run because its trying to do things that it probably should never 
> have been able to do, and that are no longer permitted - I was tearing my 
> hair out the last couple of days trying to update my version of pyinstaller 
> with pip failing no matter what I did because the system would not allow it 
> to delete old files that it expected to be able to :(
>
> The problem here may ultimately be tied up with this general issue. I will 
> keep poking at it. It seems I'm the only one who has the problem :(
>
> Jim
>
> On Thursday, February 15, 2018 at 2:05:26 AM UTC-8, Dave S wrote:
>>
>> On Wednesday, February 14, 2018 at 6:23:44 PM UTC-8, jim kaubisch wrote:
>>>
>>> Has no-one else had this problem?
>>>
>>
>> I run web2py on Windows or on linux, and having multiple versions has not 
>> been a problem.  That's the way I usually upgrade, copying my applications 
>> across, and looking for js/css/appadmin changes.   Lets me switch back 
>> easily, and I'm not running anywhere that the size of web2py makes for a 
>> problem.
>>
>> I don't often use a Mac, so I don't know how that environment changes 
>> things, other than some of the key labels.
>>
>> /dps
>>  
>>
>>>
>>>
>>> On Wednesday, February 7, 2018 at 10:47:19 AM UTC-8, jim kaubisch wrote:

 Hi,

 I needed to directed my attention away from my web2py project a few 
 months ago but am now trying to get back into it. 
 A wise Step 1 would seem to be to update from 2.14.6 to the current 
 version (2.16.1 I assume).

 First tried from source but got 

 Traceback (most recent call last):

   File "web2py.py", line 21, in 

 import gluon.widget

   File “./Development/web2py/gluon/__init__.py", line 38, in 

 from .dal import DAL, Field

   File “./Development/web2py/gluon/dal.py", line 17, in 

 from pydal.migrator import Migrator, InDBMigrator

 ImportError: cannot import name InDBMigrator


 I still have 2.14.6 installed (in a separate sub-tree) - is that the 
 problem?


 so I downloaded the mac "mac_osx.zip" to try that but - 

 after unzipping, when I try to run the resulting web2py/web2py.app I 
 just get a pop up saying "web2py error". 

 When I look at the file info for the web2py.app file it says Version 
 2.4.7, dated 29 May, 2013


 What am I doing wrong? 

 The app file info certainly doesn't look encouraging. 

 I assume having 2 versions of web2py in separate sub-trees shouldn't be 
 a problem


 Thanks,

 Jim




-- 
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] Re: new style of welcome app

2018-03-09 Thread Leonel Câmara
You probably updated the bootstrap 4 version, the new ones don't have 
navbar-right you're supposed to use the new flex utilities.

-- 
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: new style of welcome app

2018-03-09 Thread Andrea Fae'
This is working! Thanks...Why?

Il giorno venerdì 9 marzo 2018 12:42:18 UTC+1, alex ha scritto:
>
> In layout.html, instead of 
>
> 
>
> you can try:
>
> 
>
>
>
>
> On March 9, 2018 at 05:12:50, Andrea Fae' (and...@gmail.com ) 
> wrote:
>
> Yes, I clear the cache 
>
> Look attached file. Thanks
>
> Il giorno giovedì 8 marzo 2018 03:00:53 UTC+1, Anthony ha scritto: 
>>
>>
>>
>> On Wednesday, March 7, 2018 at 2:40:02 PM UTC-5, Andrea Fae' wrote: 
>>>
>>> Thanks Anthony, but LOGIN is still in the left side... 
>>>
>>>
>>> 
>>>
>>
>> It's on the right for me:
>>
>>
>> 
>> What does the HTML for the login dropdown look like in the rendered page?
>>
>> Anthony
>>
> --
> 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+un...@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] Re: Unexpected behaviour executing a query with DAL and record versioning enabled

2018-03-09 Thread Leonel Câmara
This is definitely a bug, the solution doesn't seem easy, The problem is 
that it should not apply the common filters on the alias used on the left 
join again as they are already applied on the left join ON query itself. 
  
Please file an issue here:
https://github.com/web2py/pydal/issues

-- 
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: new style of welcome app

2018-03-09 Thread Al Ex
In layout.html, instead of



you can try:






On March 9, 2018 at 05:12:50, Andrea Fae' (and...@gmail.com) wrote:

Yes, I clear the cache

Look attached file. Thanks

Il giorno giovedì 8 marzo 2018 03:00:53 UTC+1, Anthony ha scritto:
>
>
>
> On Wednesday, March 7, 2018 at 2:40:02 PM UTC-5, Andrea Fae' wrote:
>>
>> Thanks Anthony, but LOGIN is still in the left side...
>>
>>
>> 
>>
>
> It's on the right for me:
>
>
> 
> What does the HTML for the login dropdown look like in the rendered page?
>
> Anthony
>
--
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] Re: Unexpected behaviour executing a query with DAL and record versioning enabled

2018-03-09 Thread 'Awe' via web2py-users
Hello Anthony, Richard:

Here is a link to download a demo app: 
https://c.gmx.net/@316857413586131071/y6xMeU53Ql2MtJz-wr0-CQ
Just install it, on the main page click the link.
I just did the input written in the very first post.
Additionally I attached a screenshot showing my result.

Many thanks to You.
Andreas

Am Donnerstag, 8. März 2018 16:55:06 UTC+1 schrieb Anthony:
>
> On Thursday, March 8, 2018 at 10:28:38 AM UTC-5, Leonel Câmara wrote:
>>
>> Record versioning uses a common filter.
>>
>> Common filters do not work if you do not provide a query which is what 
>> happens when you do:
>>
>> db().select(db.test.ALL)
>>
>> You need to do:
>>
>> db(db.test.id > 0).select(db.test.ALL)
>>
>
> I believe the query in question is:
>
> query = (test2.type_marker=='object') | (test2.type_marker==None) & (test1
> .type_marker=='person')
> rows = current.db(query).select(test1.title, test2.title, left=test2.on(
> test1.id==test2.granny))
>
> So, there is a query being passed to db().
>
> Anthony
>

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