Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
0.1

Name: cmsplugin-advancednews
Description: A advanced news plugin for django-cms based on cmsplugin-news
Download: http://bitbucket.org/chernysh/cmsplugin-advancednews/

Requirements:
- django-cms-2.0.0 final
- django: 1.1.1
+ requirements for django-cms-2.0

Futures:
- support categories for news. We can put to page all news or only from one category

Setup:
- make sure requirements are installed and properly working
- add cmsplugin_advancednews to python path
- add 'cmsplugin_advancednews' to INSTALLED_APPS
- run 'python manage.py syncdb'
- Add the cmsplugin_advancednews.urls to the CMS_APPLICATIONS_URLS setting 
- Add the cmsplugin_advancednews.navigation.get_nodes to the CMS_NAVIGATION_EXTENDERS setting
- Create a page in cms and in the 'advanced settings' section of the admin for that page, for 'Navigation extenders' select 'news navigation' and for 'application' select 'news' (Restart of the server required due to caching!)
- Create the propper templates for your site, the ones included with the app are VERY basic

Examples:

CMS_APPLICATIONS_URLS = (
    ('cmsplugin_advancednews.urls', 'News'),
)
CMS_NAVIGATION_EXTENDERS = (
    ('cmsplugin_advancednews.navigation.get_nodes','News navigation'),
)


Todo:
- support rss

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.