Folks,
I need to change my sidebar sometimes so I've created a view
leftsidebar.html with a function like this:
{{def mysidebar():}}
my new sidebar!!!
{{return}}
And then on may layout.html I've put:
{{if 'mysidebar' in globals():}}{{mysidebar()}}{{else:}}
...
{{pass}}
And on a controller view I've tryed:
{{include 'leftsidebar.html'}}
{{extend 'layout.html'}}
...
This doesn't work... but If I put the content of leftsidebar.html in the
controller view it works...
What am I missing here?
Regards,
Tito
--
Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______