My Wiki!

Installing cmsplugin-blog

Problem and solution

Blog content is not shown

Blog content doesn't display.

Solution:

  • copy entrydetail.html to project's templates dir so we can modify it. This file will overwrite the original one in site-package. <code> vfossenv/lib/python2.7/site-packages/cmspluginblog/templates/cmspluginblog/entrydetail.html templates/cmspluginblog/ </code>
  • Make a change in the file
 <p class="date"><span>{{ object.pub_date|date:"d F Y" }}</span></p>
 12 
 13 {# with object.placeholders|choose_placeholder:"content" as content #}  <-- old
 13 {% with object.placeholders|choose_placeholder:"first" as content %}  <-- new 
 14     {% render_placeholder content %}
 15 {% endwith %}

'first' is configured as cmspluginblogplaceholder in settings.py

159 
160 CMSPLUGIN_BLOG_PLACEHOLDERS = ('first', 'second', 'third')
161 

Navigation