Skip to main content

Add a simple blog to your Kotti site

Project description

Blog addon for Kotti.

kotti_blog

This is an extension to the Kotti CMS that adds a simple blog system to your site.

Find out more about Kotti

Setting up kotti_blog

This Addon adds two new Content Types to your Kotti site. To set up the content types add kotti_blog.kotti_configure to the kotti.configurators setting in your ini file:

kotti.configurators = kotti_blog.kotti_configure

Now you can create a blog and add blog entries to your blog.

There are different settings to adjust the behavior of the blog.

You can select if the blog entries in the overview should be batched. If you set kotti_blog.blog_settings.use_batching to true (the default value) the blog entries will be shown on seperated pages. If you set it to false all blog entries are shown all together on one page:

kotti_blog.blog_settings.use_batching = false

If you use batching you can choose how many blog entries are shown on one page. The default value for kotti_blog.blog_settings.pagesize is 5:

kotti_blog.blog_settings.pagesize = 10

You can use auto batching where the next page of the blog entries is automatically loaded when scrolling down the overview page instead of showing links to switch the pages. The default for kotti_blog.blog_settings.use_auto_batching is true:

kotti_blog.blog_settings.use_auto_batching = false

With kotti_blog.blog_settings.link_headline_overview you can control wether the headline of a blog entry in the overview is linked to the blog entry or not. This setting defaults to true:

kotti_blog.blog_settings.link_headline_overview = false

Parts of kotti_blog can be overridden with the setting kotti_blog.asset_overrides. Have a look to the Kotti documentation about the asset_overrides setting, which is the same as in kotti_blog.

Authors

Marco Scheidhuber [j23d] Mike Orr [mikeorr]

CHANGES

0.3(2012-11-20)

  • Refactore date formatting to have the date locale aware.

  • Changes for compatibility with Kotti>=0.8. These changes are not backward compatibel. If you want to use kotti_blog with Kotti<=0.7.x then pin kotti_blog to 0.2.1. - Use form classes for the form views instead of deprecated generic functions. - Move fanstatic library to fanstatic.py.

  • Added minified style and JavaScript.

  • Use view_config decoration for views.

0.2.1(2012-09-04)

  • Private blog entries should not be shown in the blog overview.

0.2.1a1(2012-08-21)

  • Move to fanstatic for include static resources.

  • Convert SQLAlchemy tables to Declarative syntax.

  • Fix how content types appear in Add menu.

  • Document subclasses should not have duplicate ‘body’ field.

  • Added batching of blog entries on overview and settings for it.

  • Added dynamic batching via ajax loads.

  • Added kotti_blog.asset_overrides attribute to settings.

0.1

  • Initial release.

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_blog-0.3.zip (22.9 kB view hashes)

Uploaded Source

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