Daniel Crisan <[email protected]> writes:
> I have a website with a few pages and I need to have a div common in all
> pages (somewhere at the bottom of the page) which will always add messages.
Hi,
As far as I can tell, you can do what you want using
web.template.render's "base" argument. Have a look here for an example,
specifically the line "render = web.template('templates', base='base',
globals=t_globals)" in blog.py, and the file base.html:
http://webpy.org/src/blog/0.3
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.