Package: kotti_contactform
This is an extension to Kotti that allows to add a simple contact form
to your site.Find out more about KottiDevelopment happens athttps://github.com/Kotti/kotti_contactformSetupTo enable the extension in your Kotti site, activate the configurator:kotti.configurators=kotti_settings.kotti_configurekotti_contactform.kotti_configurePlease note thatkotti_contactform >= 0.4depends onkotti_settings,
so you have to list it in yourkotti.configuratorstoo.kotti_contactformusespyramid_mailerfor sending mails and
tries to use your mailserver at localhost:25. If these defaults don’t
fit your needs, you have to configurepyramid_mailer:http://packages.python.org/pyramid_mailer/If you add kotti_contactform to an existing Kotti site (i.e. a Kotti
installation with an already existing database), you have to
initialize the database migration with Kotti’skotti-migrateconsole script:kotti-migratestamp_head--scripts=kotti_contactform:alembic.Database upgradeIf you upgrade to version 0.1.1 or 0.4 you have to migrate your
database. The migration is performed withalembicand Kotti’s
console scriptkotti-migrate. To migrate, runkotti-migrateupgrade_all--scripts=kotti_contactform:alembic.For integration of alembic in your environment please refer to thealembic documentation. If you have problems with the upgrade,
please create a new issue in thetracker.SettingsPoint your browser tohttp://your.domain/@@settingsto get to the settings page
or use the submenupoint of ‘Site Setup’.You can specify a default sender address that will be used as the default for newly created contact forms.You can also enable the use of a captcha in your contact forms.
For the captcha thereCAPTCHAservice is used.
You have to sign up to get a key pair in order to use the service on your site.
In the settings you have to save your public and your private key.
Have a look athttps://developers.google.com/recaptcha/to sign up and get your keys.DevelopmentContributions tokotti_contactformare highly welcome.
Just clone itsGithub repositoryand submit your contributions as pull requests.When developingkotti_contactformit can be useful to have a dummy SMTP server that doesn’t actually send emails but prints them to the console.
Fortunately this isveryeasy with Python:sudo python -m smtpd -n -c DebuggingServer localhost:1025AuthorsTetsuya MorimotoChristian NeumannMarco ScheidhuberAndreas KaiserFor a complete list of contributors, seehttps://github.com/Kotti/kotti_contactform/graphs/contributorsHistory0.5.1 - 2016-05-25Allows to override templates in other addon. [castaf]0.5 - 2014-11-11Migrate to Bootstrap 3.
This requiresKotti>=0.10b1and is abackward incompatible change if you have customized any template!0.4.1 - 2014-11-11Fix the RecaptchaWidget serializer that hasn’t been working at all before.0.4 - 2014-11-11Integrate optional captcha service for the contact form.Require Kotti>=0.9.2Add an additional sender column.
Using the user supplied email address as the mail sender fails if the sender domain has an SPF record and the receiving mail server checks SPF records.
You need to run the migration script or add the column yourself (on SQLite).0.3 - 2013-11-01Added frech translation. [jon1012]0.2 - 2013-01-07Implement IDefaultworkflow.Add an additional one column layout for the contact form view.Use decorators for view config.Add fanstatic filter to development.ini.0.1.1 - 2012-12-28Changes for compatibility with Kotti>=0.8. These changes
are not backward compatible. If you want to use kotti_contactform
with Kotti<=0.7.x then pin to 0.1.1a5.Use form classes for the form views instead of deprecated generic functions.Use pyramid.includes instead of deprecated kotti.includes.0.1.1a5 - 2012-08-21Use alembic environment of Kotti for upgrades.Depend on Kotti >0.70.1.1a4 - 2012-07-28Fixed source distribution package.0.1.1a3 - 2012-07-28Changed class row to row-fluid in contact form template.Added Japanese translation.0.1.1a2 - 2012-06-28Fixed source distribution package.0.1.1a1 - 2012-06-27Attachment as optional setting.Added database migration with alembic.0.1.0b4 - 2012-05-21Changed layout.Added possibility for attachments.0.1.0b3 - 2012-03-16Update models to use Declarative for compatibility with Kotti >= 0.6.