Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A blog addon for Plone 5.

Project Description

Introduction

A blog for Plone 5. Ideas have been take from ftw.blog and plone.app.event.

I’ve written it to learn Plone.

Install

  • Add collective.blog to your buildout configuration
[instance]
eggs =
    collective.blog
  • Run buildout
  • Install collective.blog in portal_setup

You can of course install it also by adding to to your site package.

  • Add it to your packages setup.py
install_requires=[
    ...
    `collective.blog`
]
  • Add its profile as dependency to your profiles/default/metadata.xml
<dependency>profile-collective.blog:default</dependency>

Registry settings

  • collective.blog.interfaces.IBlogSettings.show_lead_image

    Show lead image in blog entries.

    default: False

    WARNING: Don’t disable once you added a lead image to a blog entry,

    you won’t be able to save that entry else.

  • collective.blog.interfaces.IBlogSettings.batch_size

    Number of blog entries to show on batch (prev/next) navigations.

    default: 10

  • collective.blog.interfaces.IBlogSettings.show_folder_title

    Show the folders title on blog listings.

    default: False

  • collective.blog.interfaces.IBlogSettings.allow_anonymous_view_about

    Allow anonymous users to see the about line.

    default: False

Views

blog_listing

A fast listing view for the content type Blog Entry it doesn’t call getObject if if you don’t enable show_lead_image.

It show’s all entries from all subfolders of the Folder where ist activated, this is usefull for archived content. We will soon publish a addon which allows you to archive your content (based on sc.contentrules.groupbydate).

Blog Listing supports some request parameters:

  • tags: A subject
  • SearchableText: Any Text

Date range:

  • start: The start date to search for, as example: 2015-09-01
  • end: The end date to search for, as example: 2015-09-30, if omitted it searches until today.

Or by year, year and month or year, month and day

  • year: The Year
  • month: The month, can be omitted then it will search for the whole year
  • day: The day, if bove the year and month have been given show only this day, can be omitted then it searches for the whole month.

Portlets

Tagcloud

A portlet to show all tags in a cloud.

It supports these parameters:

  • Max. Fontsize: Max. font size in em.
  • Min. Fontsize: Min. font size in em.
  • Search base: Select search base Folder to search for tags. The URL to to this item will also be used to link to in tag searches.
    If empty, the whole site will be searched and the tag cloud view will be called on the site root.

Uninstall

This package provides an uninstall Generic Setup profile, however, it will not uninstall the package dependencies. Make sure to uninstall the dependencies if you no longer use them.

Support

If you are having issues, please let me know.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0a1 (2016-02-14)

  • Initial release. [pcdummy]
Release History

Release History

This version
History Node

1.0a1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.blog-1.0a1.tar.gz (27.0 kB) Copy SHA256 Checksum SHA256 Source Feb 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting