Create a new menu item of type "Articles > Category List"
In the 'Options' tab, ensure that 'Linked Titles' is set to 'No'.
Why do I want to do that? Well, when creating this menu item in a menu for front editors, I want them to click the 'Edit' button which takes them straight to the editor. Clicking an article title link takes them not to the editor but to the actual article. Then, to edit the article they have to go through further clicks to access the editor.
Unclickable article titles
Active article links
Brand new installation of Protostar installed today (to ensure it wasn't an issue with my template overrides) on J3.9.14 but I first noticed this a year ago. Apache server, PHP 7.2.
This works correctly in J4 Alpha.
Labels |
Added:
?
|
Yes, I realise I could create an override (and I'll have to), but it doesn't explain why it isn't working as expected, but does in J4 Alpha. The default.php code is almost identical apart from the params/helper part. Something in there, perhaps?
Correction: should have said 'default_articles.php'
Labels |
Added:
J3 Issue
|
@HLeithner
Do we want to change the described behavior in Joomla 3 or should issue be closed as "expected/wanted behavior"?
I reflected a bit on this issue: The situation in catergory list views is a little bit different from category blog views.
We should be aware that one cannot open articles then from the list view page because the title field is the only one that has a link in a table row. There is no readmore button or intro image or other.
but it doesn't explain why it isn't working as expected, but does in J4 Alpha.
I cannot confirm that it works like described above in current J4 nightly:
...that is to say I would close this issue with mark "expected behavior".
Looking at code history, this parameter was never used in category list layout. It only affected single article layout. That use was removed with #4402.
Which begs the question: why is the 'Linked Titles' option there at all if it's expected behaviour that it changes nothing if 'No' is selected?
My original query was based on looking at category lists when logged into the frontend with editing rights. Clicking 'Edit' takes the user straight to the editor. Clicking the active 'title' doesn't.
In the meantime, I have achieved what I need with an override.
why is the 'Linked Titles' option there at all
"Linked Titles" is in tabulator "Options". It's inherited by the single article views!!
One could discuss if it's clever to link the title then in blog views, too, if activated but as said above:
We should be aware that one cannot open articles then from the list view page because the title field is the only one that has a link in a table row.
If we change something here we should establish a new parameter/option like "butNotInCategoryView". That would match all needs and expectations.
Forget my last post above. I'm wrong.
I will provide a pr. Let's see what happens with it.
Not that easy. I'm sorry that I have to cancel my proposal to provide a pr.
We also have a setting show_associations
. If activated it shows LINKED language labels to associated articles. That's too much effort and too time-consuming to find an acceptable solution for this case and everybody. It's not just deactivating the links but also CSS classes that have to be ported to <span>
s and so on.
Thank you for raising this issue.
Joomla 3 is now in security only mode with no further bug fixes or new features.
As this issue doesn't relate to Joomla 4 it will now been closed.
If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-23 13:39:34 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
You could resolve this by creating an override. The code is probably the same as for a blog title
joomla-cms/layouts/joomla/content/blog_style_default_item_title.php
Lines 20 to 31 in e15a20a