<confused with the post, it will have to be at a different day. :)> I solved my issue by putting the block with the new content before the extend on the page. Weird as it is, when you do that it won't print the content in the place it was but only in the block locations defined. I suppose that was the intended result, am I right? BR, Jason Brower
On Tue, Jun 9, 2015 at 9:56 PM Richard Vézina <[email protected]> wrote: > Hello Jason, > > There is this issue open : https://github.com/web2py/web2py/issues/772 > > Though, I am not sure I understand you issue... > > Richard > > > > On Tue, Jun 9, 2015 at 3:07 AM, Jason (spot) Brower <[email protected]> > wrote: > >> I think I found a bug with blocks. >> In my base_layout.html >> <li>{{block page_title}}{{end}}</li> >> And this in my view file... >> {{block page_title}} >> Dashboard >> {{end}} >> This will print the replacement block in the correct location. BUT it >> will also print it where ever I put it in the html. >> Am I understanding the purpose of blocks wrong or is this a bug? >> So if I put the block with the "Dashboard" in it at the bottom of the >> page I will get it in the li tags there but also in the bottom of the page. >> BR, >> Jason Brower >> >> -- >> 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 [email protected]. >> 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

