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.
- 04 May 2017, 10:27
#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
Posts: 2 Joined: 04 May 2017, 10:18 Status: Off-line
what is two(2) plus three(3) ?: 5
- 04 May 2017, 12:18
#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.
Posts: 2 Joined: 04 May 2017, 10:18 Status: Off-line
what is two(2) plus three(3) ?: 5
By
RussH - 20 Jun 2017, 12:18
Posts: 1041 Joined: 12 Apr 2008, 08:28 Status: Off-line
what is two(2) plus three(3) ?: 5
Location: UK
- 19 Sep 2017, 07:53
#3311
How to add Extra Tab guys
Posts: 10 Joined: 02 Jun 2017, 10:55 Status: Off-line
what is two(2) plus three(3) ?: 5
By
cptr13 - 19 Sep 2017, 09:57
- 19 Sep 2017, 09:57
#3312
I don't think that's quite as easy as hiding tabs
You could put that as a feature request on our github.
Posts: 455 Joined: 23 Apr 2008, 01:53 Status: Off-line
what is two(2) plus three(3) ?: 5
Location: Mobile, AL
Jump to:
Select the forum to jump to