Create a category blog menu item and under options set Author to use Article Settings. Create 2 articles and within the Article Options on those articles set one to Display Author and one not to display the Author.
The Category blog page displays correctly, showing the Author for one article and not for the other. Then click on the Read More to view the full article for the Article set to not display Author and you will see the Author displayed.
Both article detail pages show Author.
Standard Joomla 4.2.x install out of the box it does this.
For Author display we have it set to use Article Options as my client only wants to display Author when they write an article and not display it on press releases from the local officials. On my category blog test page https://www.clayconews.com/mike-testing the first article you will see displays my name under the title (test 3) as it should, the 2nd article Test does not display my name. All of this is good, but when I click on either of them on the detail pages Author shows on both pages. It should only display on the test3 detail page here: https://www.clayconews.com/mike-testing/20944-test-3 and not on the Test detail page https://www.clayconews.com/mike-testing/19292-test
FYI. Based upon the category blog page working correctly I think I have all the options set correctly which makes me think this is a bug.
Thank you,
Mike
Labels |
Added:
No Code Attached Yet
|
Sorry I forgot to include that this also happens with the default Cassiopeia template. I have also updated my menu item from the links above so they use the Cassiopeia template so there is no question about that now.
Thank you,
Mike
Could not re-procedure the issue with fresh installation of Joomla 4.2 . For the article has Author parameter set to Hide, author is not being displayed on both category page and article page as expected.
@joomdonation For the category blog menu item you had the Author set to use Article Settings in the options? With that set is when it does not respect the individual article option in each article.
@Mike92115 Yes. See this attached screenshot
@joomdonation Thank you for that, unfortunately that is not what I am seeing. I was able to re-create the issue on another site that I just created last week and had nothing done to it other then setup with only has the default Cassiopeia template. As you can see here: https://atruthinpolitics.com/mike-testing Test 2 does not show Author on the Blog page, but when you look at the article detail page here: https://atruthinpolitics.com/mike-testing/test-2 you can see the Author displayed.
Screen prints are attached.
Ah, Yes, I can re-procedure the issue with your setup. My setup is a bit different (I set Author in article parameter set to Hide, not Use Global like in your case)
By looking at the code https://github.com/joomla/joomla-cms/blob/4.2-dev/components/com_content/src/Model/ArticlesModel.php#L663-L697 , seems we only handle that Use Article Settings option for certain views and layouts only, so I'm unsure if we need to handle it in article page.
For this, I need input from users with more CMS usage experience. @crystalenka Should we consider this as a bug and fix it?
@joomdonation I would personally consider this a bug for a couple of reasons:
Have I missed anything?
@joomdonation @crystalenka Hi, I wanted to follow up and make sure this will be flagged/added to the bug list so it can be addressed. Sorry I don't know how this works, if it's flagged to be addressed or stays at this status until someone starts working on it or what.
Thank you,
Mike
Labels |
Added:
bug
|
This could be a template issue. If you switch your template to the default Cassiopeia, does the issue persist?