Hello,

Thank you for refreshing my memory. I think I can do I by simply adding a
new render: return  render.page1 + render.page2


On Fri, Jul 19, 2013 at 11:43 AM, Ruben Maher <[email protected]> wrote:

> 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.
>
>
>


-- 
This message is confidential. It may also be privileged or otherwise
protected by work product immunity or other legal rules. If you have
received it by mistake please let me know by reply and then delete it from
your system; you should not copy the message or disclose its contents to
anyone.

-- 
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.


Reply via email to