SuiteP theme template not working from custom directory

I made changes to this file: themes/SuiteP/include/DetailView/tab_panel_content.tpl
which works…
If I leave that original file but copy the newly altered file to
custom/themes/SuiteP/include/DetailView/tab_panel_content.tpl
it doesn’t work.

I have other files in custom working (like custom/modules/Leads/metadata/convertdefs.php for example)
I performed chown & chmod but still nothing.

I’m leaving my changes in the themes directory but it seems like it should work from the custom directory as well
Any suggestions
thanks in advance

Not all files are customizable. Sometimes when you’re attempting to customize something that nobody has tried before, you find that the “include” isn’t looking for the file in “custom” dir.

See in your case:

https://github.com/salesagility/SuiteCRM/search?q=tab_panel_content.tpl&unscoped_q=tab_panel_content.tpl

Now what you can do is figure out which of those files is the include relevant to you. Let’s suppose it’s “themes/SuiteP/include/DetailView/DetailView.tpl”, for example.

Then you would create a custom version of this file, in custom dir, and edit the “include” command to look in custom dir.

Hopefully this customized “tpl” will get picked up - but you’ll have to try it and see if it works.