Skip to main content

Add twitter widgets to your Kotti site

Project description

This is an extension to the Kotti CMS that allows you to add Twitter widgets to your Kotti site.

Find out more about Kotti

Setting up a profile widget

To set up the profile widget to display on every page in Kotti on the right hand side, add kotti_twitter.include_profile_widget to the pyramid.includes setting in your Paste Deploy config:

pyramid.includes = kotti_twitter.include_profile_widget

To set the name of the user for which the widget is shown, set the kotti_twitter.profile_widget.user variable. An example with some other variables:

pyramid.includes = kotti_twitter.include_profile_widget
kotti_twitter.profile_widget.user = dnouri
kotti_twitter.profile_widget.loop = true
kotti_twitter.profile_widget.tweets_links = #00ff00

Setting up a search widget

The search widget is very similar to the profile widget, but instead of a user, it expects a search. An example configuration:

pyramid.includes = kotti_twitter.include_search_widget
kotti_twitter.search_widget.search = #pylons #pyramid
kotti_twitter.search_widget.title = Pylons Project news

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kotti_twitter-0.5.zip (7.4 kB view details)

Uploaded Source

File details

Details for the file kotti_twitter-0.5.zip.

File metadata

  • Download URL: kotti_twitter-0.5.zip
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kotti_twitter-0.5.zip
Algorithm Hash digest
SHA256 717b0b57b7d593ae7ed7821c24c503eb8186a06fb883990eae7bdb852587d9b3
MD5 9b9ea2aceadd1edf47f1b01e2119fcc5
BLAKE2b-256 52af8064c4022872264354b4ae2f447410e657dd41e366e03ec0e3efda2a05d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page