I note that you're aiming to add an option to exclude terms. I can't code much, but I can fund - please let me know if a bit of sponsorship would help get this feature written.

As an aside, thank you for this seriously great little module. I've lost count of the sites where I've had to add PHP to the block visibility settings to do this, so this Module will be a massive help to me.

Comments

marcvangend’s picture

Mark, thank you for the kind words and sorry for taking so long to reply. I'm back from holiday and DrupalCon now :-)

Funding is definitely a way to allow me to spend time on such a feature. But before we go there, can you elaborate on "excluding terms"? Even if you can't code, you can help me by describing your use case and how you would expect it to work.

One of the challenges for this module is to keep the UI clean and intuitive, even when there are many terms and (in following versions) more configuration options. If you have ideas about the UI for excluding terms, you're very welcome to post a simple sketch.

Mark Nielsen’s picture

Welcome back, Marc :)

In #1186864: Add option to hide (instead of show) block when term is present, you say that this feature is on your "wish list", but haven't yet had time to do it.

In essence, it would be good to be able to create a block which shows up everywhere, but not on nodes that have a particular taxonomy term. I expect the UI for this could mirror that which exists for Path Visibility. With Path Visibility, you specify some paths, and you have an option to show "Show on every page except the listed pages" or to "Show on only the listed pages". Having the same choice for Term Visibility would be massively useful.

A specific use-case is a recent client who was creating e-books. We weren't using the Book module, for various reasons, and instead were building her e-books with normal Page nodes and the core menu system. Each page of the e-book (each a separate node) would be assigned a Taxonomy Term for that e-book. She then wanted a "call to action" block which advertised the e-book everywhere on the site except when you're already looking at part of it. Term Visibility could have been useful here, if it had the option to "negate" the selection - "Show on every page except those with the selected Taxonomy Term".

In the end, I used some PHP code to do this. But that means if the client needs to change the functionality in future, she has to ask me again.

Anyhow, my offer of support (of both the moral and material kind) still stands :)

marcvangend’s picture

Thanks for the additional info. I'll try to look into this soon and estimate how long it would take me to build this.

komlenic’s picture

Status: Active » Closed (duplicate)

Unless I'm mistaken this issue is a duplicate of #1186864: Add option to hide (instead of show) block when term is present. This should be addressed soon, and rolled into a 7.x-1.0-beta1 release.

Mark Nielsen’s picture

Thanks, komlenic :)