Make sure navbar.html does not include {{extend 'layout.html'}} -- it 
doesn't need to extend layout.html because the main view for the page does 
that -- it simply needs to be included in the layout.

Anthony

On Thursday, December 13, 2012 9:40:32 AM UTC-5, BlueShadow wrote:
>
> well I was a littlebit to quick
> web2py gives me an error message : 
>
> RuntimeError: maximum recursion depth exceeded in cmp
>
>
> do I have to do something other than extend layout in my Navbar?
>
>
> On Thursday, December 13, 2012 3:29:31 PM UTC+1, BlueShadow wrote:
>>
>> thanks anthony yo are awesome
>>
>> On Thursday, December 13, 2012 2:43:39 PM UTC+1, Anthony wrote:
>>>
>>> {{include 'path/to/navbar.html'}}
>>>
>>> Note, the path is relative to the /views folder.
>>>
>>> Anthony
>>>
>>> On Thursday, December 13, 2012 8:25:56 AM UTC-5, BlueShadow wrote:
>>>>
>>>> Hi,
>>>> I like to include more than one page in my layout is that possible?
>>>>
>>>> The reason for it:
>>>> My Navbar is getting really big and I like to put it in a diffrent file.
>>>> So other solotions would be also appriciated.
>>>>
>>>

-- 



Reply via email to