So, we know that the priority order for Articles is "Menu Options > Article Options > Global Options".
You can try with any Article Setting. Let's use "Show Category" as an example.
LEVEL 1 - Global Options: SHOW
LEVEL 2 - Article Options: HIDE
LEVEL 3 - Menu Options: USE GLOBAL
The result is that the Category is SHOWN (takes the setting from LEVEL 1)
I would expect the Category to be HIDDEN (should take the setting from LEVEL 2)
Joomla 3.6.5
It doesn't make sense for the "Use Global" setting in Menu Options to simply skip and ignore the "parent" Article Options and just go ahead and use the "grandparent" Global Options.
I understand that for Category Blog Menu Items there is an option called "Use Article Options", but I think it's redundant and unnecessary. Infact, I think this option should be removed, and instead, using the article options should be the expected behavior when selecting "Use Global".
Here's another reason why I think that:
The fact that "Use Global" skips the Article Options and goes straight to the Global Options is also incosistent with how the permission levels work for example. Their "equivalent" of "Use Global" (which is "Inherit") inherit the setting from the closest parent option, it doesn't skip them all and use the main grandparent settings.
So I believe this behavior should be the same. The "Use Global" in Menu Options should be treated (or even renamed, for consistency?) in "Inherit" and should inherit the setting from the closest parent.
This example relates to Article Options but it could apply to other components that have a similar hierarchy.
These are my 2 cents. Feel free to rip it to shreds if you feel like it, lol. I think it should at least be considered/discussed.
Labels |
Added:
?
|
Category | ⇒ | com_content |
Oh, well, in that case, this causes way less issues than I thought. So from problematics standpoint, we're good. For consistency, however, I guess it could still be improved anyway?
What is the purpose of "Use Article Options" if, as you say:
[quote]If the menu item is something different (eg "Single Article" but for another article or a category view), then it is "Article Options > Menu Options" > Global Options". Article settings take precedence over menu settings.[/quote]
Doesn't that make "Use Article Options" effectively redundant, since they take precedence anyway?
Honestly, I don't know that. You would have to ask the one who implemented it
Status | New | ⇒ | Discussion |
Closed due to lack of interest
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-21 15:24:04 |
Closed_By | ⇒ | brianteeman |
Well, I guess you can say there was lack of interest, in the sense that it's not a big deal in the grand scheme of things and I won't kill myself if it doesn't get added - it's a small tweak, but if all small tweaks were ruled out for "lack of interest" then Joomla wouldn't be as comprehensive as it is, right? #LittleThingsMatter
It reallys inst a small thing though as it will effect all existing sites
I see, that's a good point too, well, let's leave it then :)
Just to be precise, this depends on what the menu item type is.
If the active menu item is an "Single Article" pointing to that exact article, then it is as you wrote, Menu takes precedence over article.
If the menu item is something different (eg "Single Article" but for another article or a category view), then it is "Article Options > Menu Options" > Global Options". Article settings take precedence over menu settings.