cmsplugin-news

所属分类:建站系统
开发工具:Python
文件大小:47KB
下载次数:0
上传日期:2013-06-27 05:35:57
上 传 者sh-1993
说明:  django cms的新闻插件
(news plugin for django-cms)

文件列表:
cmsplugin_news.egg-info (0, 2013-06-27)
cmsplugin_news.egg-info\PKG-INFO (630, 2013-06-27)
cmsplugin_news.egg-info\SOURCES.txt (1410, 2013-06-27)
cmsplugin_news.egg-info\dependency_links.txt (1, 2013-06-27)
cmsplugin_news.egg-info\not-zip-safe (1, 2013-06-27)
cmsplugin_news.egg-info\requires.txt (10, 2013-06-27)
cmsplugin_news.egg-info\top_level.txt (15, 2013-06-27)
cmsplugin_news (0, 2013-06-27)
cmsplugin_news\__init__.py (0, 2013-06-27)
cmsplugin_news\admin.py (2209, 2013-06-27)
cmsplugin_news\cms_app.py (320, 2013-06-27)
cmsplugin_news\cms_plugins.py (1546, 2013-06-27)
cmsplugin_news\feeds.py (679, 2013-06-27)
cmsplugin_news\forms.py (1000, 2013-06-27)
cmsplugin_news\locale (0, 2013-06-27)
cmsplugin_news\locale\de (0, 2013-06-27)
cmsplugin_news\locale\de\LC_MESSAGES (0, 2013-06-27)
cmsplugin_news\locale\de\LC_MESSAGES\django.mo (1918, 2013-06-27)
cmsplugin_news\locale\de\LC_MESSAGES\django.po (2576, 2013-06-27)
cmsplugin_news\menu.py (470, 2013-06-27)
cmsplugin_news\migrations (0, 2013-06-27)
cmsplugin_news\migrations\0001_initial.py (7829, 2013-06-27)
cmsplugin_news\migrations\__init__.py (0, 2013-06-27)
cmsplugin_news\models.py (4631, 2013-06-27)
cmsplugin_news\navigation.py (2241, 2013-06-27)
cmsplugin_news\settings.py (864, 2013-06-27)
cmsplugin_news\templates (0, 2013-06-27)
cmsplugin_news\templates\news (0, 2013-06-27)
cmsplugin_news\templates\news\feeds (0, 2013-06-27)
cmsplugin_news\templates\news\feeds\item_description.html (23, 2013-06-27)
cmsplugin_news\templates\news\feeds\item_title.html (21, 2013-06-27)
cmsplugin_news\templates\news\latest_news.html (2176, 2013-06-27)
cmsplugin_news\templates\news\news_archive.html (164, 2013-06-27)
cmsplugin_news\templates\news\news_archive_custom.html (1430, 2013-06-27)
cmsplugin_news\templates\news\news_archive_day.html (205, 2013-06-27)
cmsplugin_news\templates\news\news_archive_month.html (209, 2013-06-27)
cmsplugin_news\templates\news\news_archive_year.html (254, 2013-06-27)
... ...

ALPHA Name: cmsplugin-news Description: A news plugin for django-cms Download: http://bitbucket.org/MrOxiMoron/cmsplugin-news/ Requirements: - django-cms-2.0.0 final - django: 1.1.1 + requirements for django-cms-2.0 Last tested with: - django-cms-2.0.0 final - django: 1.1.1 Setup - make sure requirements are installed and properly working - add cmsplugin_news to python path - add 'cmsplugin_news' to INSTALLED_APPS - run 'python manage.py syncdb' - Add the cmsplugin_news.urls to the CMS_APPLICATIONS_URLS setting - Add the cmsplugin_news.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 Todo and Tomaybes: - Add more tests - add to cms_plugins.py for plugins - month view with days that link to archive_day view - Allow comments on news (add option to the news model for it) - Optimize the navigation code, it works but there is probably a better way to do it. - Add RSS feed - Add optional author field - Add optional end date to hide news again - Add Tags - Add translations (I can do the dutch one) - Ideas other people come up with :D Examples: CMS_APPLICATIONS_URLS = ( ('cmsplugin_news.urls', 'News'), ) CMS_NAVIGATION_EXTENDERS = ( ('cmsplugin_news.navigation.get_nodes','News navigation'), ) Suggestion: To avoid confusion add a "application" template to the CMS which is like other templates but without any placeholders. That way users won't get tempted to fill the placeholders and then complain they don't show up ;-)

近期下载者

相关文件


收藏者