Does anyone have any ideas on how to implement this? I have installed the following addon: [tl] Ignore Content 3.1.2 and I would like that when a complete node category is hidden from the user, the widget with the id "porn_latest_posts" is also hidden in the live statistics.
With CSS I can hide it but not link it with the condition that it checks if the forum category is hidden:
only how can I check whether the node-id contains "is-ignored"
or is there a better solution?
With CSS I can hide it but not link it with the condition that it checks if the forum category is hidden:
CSS:
.tabGroup-content ul.content.tab--porn_latest_posts,
.tab.tab--porn_latest_posts {
display: none;
visibility: hidden;
}
only how can I check whether the node-id contains "is-ignored"
HTML:
<div class="node node--id252 node--depth2 node--forum is-ignored node--read">
or is there a better solution?