djangocms-blog
djangocms-blog copied to clipboard
'Author Blog Articles' plugin template missing the author name (username).
Description
- On selecting the 'Author Blog Articles' plugin and adding it to the CMS Page, it simply shows 'Articles By' instead of 'Articles By <author_name>'
Versions
djangocms-blog==1.2.3
Expected behaviour
- It should display the author's name after 'Articles By'.
Actual behaviour
- It does not display the author's name after 'Articles By'.
Additional information
settings.py
PARLER_LANGUAGES = {
1: (
{'code': 'en-us'},
),
'default': {
'fallbacks': ['en-us'],
}
}
BLOG_AUTHOR_DEFAULT = True
BLOG_AUTO_NAMESPACE = 'Blog'
BLOG_CATEGORY_PLUGIN_NAME = 'Categories'
BLOG_DEFAULT_OBJECT_NAME = 'Article'
META_USE_TWITTER_PROPERTIES = True
META_USE_GOOGLEPLUS_PROPERTIES = True # django-meta 1.x+
META_USE_SCHEMAORG_PROPERTIES = True # django-meta 2.x+
@srinivas-kini The template for that plugin outputs author.get_full_name
, that is user first_name
+ user second_name
fields. So, if your user doesn not have those fields filled, it probably doesn't show anything.