nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
406 stars 191 forks source link

'Author Blog Articles' plugin template missing the author name (username). #679

Open srinivas-kini opened 3 years ago

srinivas-kini commented 3 years ago

Description

Versions

djangocms-blog==1.2.3

Expected behaviour

Actual behaviour

Additional information

image

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+
protoroto commented 1 year ago

@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.