[web2py] Re: updating menu without reloading the page

2019-05-17 Thread villas
Wow thanks Vlad! I didn't hope for such a full explanation, but this will be appreciated by anyone following the thread. All the best. On Thursday, 16 May 2019 17:04:13 UTC+1, Vlad wrote: > > Yes sure: > > My issue was the menu item with "Cart (X)" menu item where X indicated how > many items

[web2py] Re: updating menu without reloading the page

2019-05-16 Thread Vlad
Yes sure: My issue was the menu item with "Cart (X)" menu item where X indicated how many items were currently in the cart. Since the cart was updated with ajax calls - I needed to update that menu item. This is what I've changed in the menu construction in the layout.html :

[web2py] Re: updating menu without reloading the page

2019-05-16 Thread villas
Hi Vlad, It is great that you resolved this problem. Many of us use this group to search and learn from each other's experiences, and it can be frustrating to read a thread of messages and then simply see 'resolved' at the bottom. If you have time, it would be interesting and helpful to know b

[web2py] Re: updating menu without reloading the page

2019-05-15 Thread Vlad
Never mind, Resolved... On Wednesday, May 15, 2019 at 8:43:44 PM UTC-4, Vlad wrote: > > I didn't say it precisely. By web2py controlling it I meant that it's > dynamic and changes all the time - it's not static that I could assign > certain id to some item... > > On Wednesday, May 15, 2019 at 7

[web2py] Re: updating menu without reloading the page

2019-05-15 Thread Vlad
I didn't say it precisely. By web2py controlling it I meant that it's dynamic and changes all the time - it's not static that I could assign certain id to some item... On Wednesday, May 15, 2019 at 7:55:26 PM UTC-4, Vlad wrote: > > Sometimes I need to change the menu without reloading the page.