Hi, I'm new to Backdrop, so please forgive the best-practices question. I've set up my own view for one of my taxonomy terms, "Creators." You can see the results at https://unlikelystories.org/creators/titoxz . I want to remove the phrase "There is currently no content classified with this term," so that if the term is empty, no error message is given. It was easy enough to find the relevant code in taxonomy.pages.inc, but I can't imagine editing core modules is considered best practice. Could anyone advise? Thanks in advance.

Comments

Hi (and welcome), feel free to ask questions like this.

There's probably a number of ways you could do this. One possibility: 

The module above will hide the listing in general. If you do plan to have data on some of the term pages, you would need to add a views block to this page which would show up if there was content.

You could also potentially enable the taxonomy/term/% override in the Views listing and make adjustments in there.

My answer is somewhat general so you may need to poke around about but hopefully these directions prove helpful.

Here are a couple of suggestions for where to look in the View that creates the page:

In the FORMAT section, if the view has Show: Fields | Settings, click on the word Settings, and there may be a choice for Hide empty fields, do not display fields, labels or markup for fields that are empty.

Another option  is in the FIELDS section, click on the fieldname triggering the message, and it may have an option of "No results behavior"; click that option.  I suspect this is where your text resides.  There are several choices, Display the text if the field contains 0, Hide if empty, and Hide rewriting if empty.

Hope this helps.