You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new Article for that Config and Category and save it.
In CMS, create a new page and select the plugin 'Latest Blog Articles' and add it to the page.
In the blog preview section on clicking 'read more >>' and navigating to the contents of the individual blog, it does not load the content of the individual blogs.
Versions
djangocms-blog==1.2.3
Expected behaviour
The content of the blogs should be loaded properly.
You can write the body directly in the article creation popup.
To display a truncated version of the article body instead of an abstract (if BLOG_USE_ABSTRACT = False) in the article overview, you probably want to modify the djangocms_blog/includes/blog_item.html template like so:
<div class="blog-lead">
{% if not TRUNCWORDS_COUNT %}
{% render_model post "post_text" "" "" "safe" %}
{% else %}
{% render_model post "post_text" "" "" "truncatewords_html:TRUNCWORDS_COUNT|safe" %}
{% endif %}
</div>
Bear in mind that the BLOG_USE_{PLACEHOLDER,ABSTRACT} variables in settings.py seem to take effect only for newly created blogs. For existing blogs, you can change these settings via the admin UI: <site name> -> Administration... -> Blog configuration -> <your blog> -> checkboxes under general settings.
Also bear in mind that Latest Blog Articles is not the standard way to add the blog, also see here.
Description
Steps to reproduce
Versions
djangocms-blog==1.2.3
Expected behaviour
The content of the blogs should be loaded properly.
Additional information
Screenshots
settings.py
The text was updated successfully, but these errors were encountered: