Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
By durblave
#2959
Hello everyone.

I am new to OpenCATS and need some assistance.
I need to use OpenCATS for registering researchers for our project and need to hide the following tabs as we will not be using them:

1. Companies
2. Job Orders
3. Activities

Can anyone help me out.

Thanks in advance :)

durblave
By durblave
#2960
I have been going through the source code and I have finally found the solution.

I have added the names of the tabs I want hidden to the printTabs method in the TemplateUtility.php class on line 602 like so

if (empty($tabText) || $tabText === 'Companies' || $tabText === 'Job Orders' || $tabText === 'Activities')
{
continue;
}

Originally the line was:

if (empty($tabText))
{
continue;
}

and I only added the modules I didnt want visible.

I am running OpenCATS Version 0.9.3 Inferno.
User avatar
By cptr13
#3312
I don't think that's quite as easy as hiding tabs :) You could put that as a feature request on our github.

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me