Skip to main content

Provides dexterity content types for news articles.

Project description

.. contents:: Table of Contents


Introduction
============

ftw.news provides dexterity content types for news articles and an integration
for ftw.simplelayout (news listing block). An optional feature can be installed
allowing the news listing block on the Plone Site to render specially marked
news items only.

Compatibility
-------------

Plone 4.3.x

.. image:: https://jenkins.4teamwork.ch/job/ftw.news-master-test-plone-4.3.x.cfg/badge/icon
:target: https://jenkins.4teamwork.ch/job/ftw.news-master-test-plone-4.3.x.cfg


Installation
============

- Add the package to your buildout configuration:

::

[instance]
eggs +=
...
ftw.news

- Install the "default" GenericSetup profile.

- Optionally (and additionally to the "default" GenericSetup profile) you may
install the "show-on-homepage" GenericSetup profile.


Usage
=====

Create a news folder then start adding news items into the folder.


Development
===========

**Python:**

1. Fork this repo
2. Clone your fork
3. Shell: ``ln -s development.cfg buildout.cfg``
4. Shell: ``python boostrap.py``
5. Shell: ``bin/buildout``

Run ``bin/test`` to test your changes.

Or start an instance by running ``bin/instance fg``.


Links
=====

- Github: https://github.com/4teamwork/ftw.news
- Issues: https://github.com/4teamwork/ftw.news/issues
- Pypi: http://pypi.python.org/pypi/ftw.news
- Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.news


Copyright
=========

This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_.

``ftw.news`` is licensed under GNU General Public License, version 2.

Changelog
=========


1.1.4 (2016-05-20)
------------------

- Adjusts the formatting of the date and time displayed on the page of a news item.
Time doesn't show up if it is set to 00:00.
[raphael-s]

- Archive portlet now respects the config of NewsListingBlock or NewsListing Portlet.
[mathias.leimgruber]

- Use the query provided by the view for the archive portlet.
[mathias.leimgruber]

- Call news_listing view on NewsListingBlock and optain query from block for news listing.
[mathias.leimgruber]


1.1.3 (2016-04-20)
------------------

- Adjusts the date and time displayed for each news item in a news folder.
Doesnt show time if there is no time set.
[raphael-s]

- Adds a profile which installs an additional feature allowing to
mark news item to be shown on the homepage (if the news listing block
is configured to do so).
[mbaechtold]


1.1.2 (2016-04-11)
------------------

- Fix the link in the RSS feed (link to parent instead of the feed itself).
[mbaechtold]

- The news listing block renders news items the same way as the news portlet
and the news listing view.
[mbaechtold]


1.1.1 (2016-03-04)
------------------

- Define individual scale for news listing block.
Define default image for news listing block.
[Kevin Bieri]


1.1.0 (2016-03-03)
------------------

- Implement accessibility support for archive portlet tree.
[Kevin Bieri]

- Rework styling based on ftw.theming
[Kevin Bieri]

- get_creator should no fail if the user no longer exists.
[mathias.leimgruber]

- Eliminate declaration warning for nonexistent methods.
[jone]

- Do not show ftw.news.News in navigation by default.
[elioschmutz]

- Apply styling based on new ftw.theming variables set.
- Remove `read more` link becuase the link of the heading has the same target
so the `read more` link is obsolete.
[Kevin Bieri]

- Implement newslistingblock listing styles + Convert to html list. This has now the same styles as the regular newslisting.
[mathias.leimgruber]

- Implement news portlet styles.
[mathias.leimgruber]

- Implement news listing styles.
[mathias.leimgruber]

- Convert newslisting into a html list for the sake of accessibility.
[mathias.leimgruber]

1.0.0 (2015-12-04)
------------------

- Nothing changed yet

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

ftw.news-1.1.4.tar.gz (42.2 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