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
My Craft installation has multiple sites with a number of sections that are available only to certain sites. In the "Entries" view, the entry sources are grouped under different headings. Before the just-released 4.3.0 version, if all the entry sources in a group were disabled (because they were not required for that site), the heading was hidden as well. In 4.3.0, though, the HTML has been changed (in a better way, actually!) but the heading now shows even if all the sources are correctly hidden.
The result is that I now see a whole bunch of headings that used to be hidden.
Basically, it looks like the heading is not picking up the "hidden" class, as you will see in the code I will post below.
<li class="heading"> <!-- should also have picked up the "hidden" class" -->
<span>…</span>
<ul>
<li class="hidden">…</li>
<li class="hidden">…</li>
</ul>
</li>
Craft CMS version
4.3.0 Pro
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
AndrewMac
changed the title
[4.x]: Entry source headings not being hidden when they should
[4.3.0]: Entry source headings not being hidden when they should
Oct 26, 2022
What happened?
Description
My Craft installation has multiple sites with a number of sections that are available only to certain sites. In the "Entries" view, the entry sources are grouped under different headings. Before the just-released 4.3.0 version, if all the entry sources in a group were disabled (because they were not required for that site), the heading was hidden as well. In 4.3.0, though, the HTML has been changed (in a better way, actually!) but the heading now shows even if all the sources are correctly hidden.
The result is that I now see a whole bunch of headings that used to be hidden.
Basically, it looks like the heading is not picking up the "hidden" class, as you will see in the code I will post below.
Old behaviour
New improved behaviour
Craft CMS version
4.3.0 Pro
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: