hi,
i want to try centralize file view *.html, but it's ended with failure when
using extend and include.
for example i want to create block footer separate file that can be replace
the default layout.html, i know it can be done when define it block footer
in each file, or redefine it on layout.html, but the problem is when i have
a lot file using the same template footer it will make a lot of work.
did anyone know how to simplified centralize file view?
any hints, or suggestion is greatly appreciate.
thank you so much before
*example code that not work*
*views/block_footer.html*
{{block footer}}
custom_footer
{{end}}
*views/default/blog.html*
*1.*
*
*{{extend 'layout.html'}}
{{include 'block_footer.html'}}
*
2.*
*
*{{extend 'layout.html'}}
{{extend 'block_footer.html'}}
--
---
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/groups/opt_out.