Commits

Harro van der Klauw committed a3ee8e4

Updated template
Updated readme
Updated to version 0.3b
Tested with the 2.0.0 release of django-cms

  • Participants
  • Parent commits da91ba2

Comments (0)

Files changed (3)

 Download: http://bitbucket.org/MrOxiMoron/cmsplugin-news/
 
 Requirements:
-- django-cms-2.0: rev 7353b46ba14dd30bf8db8d0981f35df5bde67fad
+- django-cms-2.0.0 final
 - django: 1.1.1
 + requirements for django-cms-2.0
 
 Last tested with:
-- django-cms-2.0: rev ed053ba1bf875e5f5ca3a0e111bf572093c71222
+- django-cms-2.0.0 final
 - django: 1.1.1
 
 Setup
 - 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 and link the application and navigation to it. (Restart of the server required due to caching!)
+- 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:

cmsplugin_news/templates/cmsplugin_news/news_archive_year.html

-<h1>News months</h1>
-
+<h1>News for {{ year }}</h1>
 <ul>
-{% for month in datelist %}
-	<li>{{ month }}</li>
-{% endfor %}
+    {% for date in date_list %}
+        <li><a href="{% url news_archive_month year=year month=date|date:'m'  %}">{{ date|date:"F" }}</a></li>
+    {% empty %}
+        <li>No news for this year</li>
+    {% endfor %}
 </ul>
 
 setup(
     name='cmsplugin-news',
-    version='0.2b',
+    version='0.3b',
     description='This is a news app/plugin for the django-cms 2',
     author='Harro van der Klauw',
     author_email='hvdklauw@gmail.com',
     url='http://bitbucket.org/MrOxiMoron/cmsplugin-news/',
     packages=find_packages(),
     classifiers=[
-        'Development Status :: 3 - Alpha',
+        'Development Status :: 4 - Beta',
         'Environment :: Web Environment',
         'Intended Audience :: Developers',
         'License :: OSI Approved :: BSD License',