On Jun 26, 4:31 pm, Giuseppe Luca Scrofani <glsdes...@gmail.com>
wrote:
> Hi all, I have to {{include "sidebar.html"}} in every page of a site,

... you might want to then put this in your site's  views/layout.html
file;

> and one of the elements in this include is a little form (a text field
> and a submit button) where user insert email address and apply for a
> newsletter, effectively writing a record in db.newsletter. How can I
> do this without a controller?

... you will want to send the form contents by ajax to a controller
which will do the saving;  look at 
http://www.web2py.com/book/default/section/10/3
>
> Also, there is a ready made example or appliance that can send a mail
> to all email adresses present in a db table?
>
> sorry for english

Reply via email to