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
It is required to be able to specify several authors for the article, and also when clicking on the author, instead of filtering, receive a link to his profile.
For categories, I would also like to follow the link to the page, instead of filtering.
The text was updated successfully, but these errors were encountered:
@mamedovramil For two of your requests there might be an easy solution available. If you do not want to filter authors or categories you might want to try and adapt the templates, especially templates/djangocms_blog/include/blog_meta.html:
{% if post.author %}
<li>
{% trans "by" %} <a href="{% url 'PUT HERE THE URL PATTERN NAME OF YOUR AUTHOR PROFILE' post.author %}">{% if post.author.get_full_name %}{{ post.author.get_full_name }}{% else %}{{ post.author }}{% endif %}</a>
</li>
{% endif %}
Similarly in the same file adjust the category link:
{% if post.categories.exists %}
{% for category in post.categories.all %}
{% if category.slug %}
<li class="category_{{ forloop.counter }}"><a href="{% url 'URL PATTERN NAME FOR CATEGORY PROFILE' category %}" class="blog-categories-{{ category.count }}">{{ category.name }}</a>{% if not forloop.last %}, {% endif %}</li>
{% endif %}
{% endfor %}
{% endif %}
It is required to be able to specify several authors for the article, and also when clicking on the author, instead of filtering, receive a link to his profile.
For categories, I would also like to follow the link to the page, instead of filtering.
The text was updated successfully, but these errors were encountered: