dotProject Forums

Go Back   dotProject Forums > DOTPROJECT VERSION 2 > Customisation Questions 2.x
Register FAQTop Posters Members List Calendar Search Today's Posts Resend Activation Email Mark Forums Read
Bugs & Feature Requests Download dotProject

Customisation Questions 2.x How do you modify ..... for your own site

Thread Tools Display Modes
Old 29-12-16, 08:24 AM
Rafael Queiroz Gonçalves's Avatar
Rafael Queiroz Gonçalves Rafael Queiroz Gonçalves is offline
Valued Users
Frequent Visitor
dotProject Version: 2.1.7
php Version: 5.3
MySQL Version: 5.4
Operating System Version: Windows
Browser: Firefox
Join Date: 25-04-12
Posts: 80
Send a message via Skype™ to Rafael Queiroz Gonçalves
Exclamation Project module: All and Gantt tabs not working

I my dotProject 2.8 installation in projects index page I had the following problems: the “All” and “Gantt” tabs were not working.

Once these functionalities are implemented in a core module – I usually don’t like to change it. However, once other users may have the same problem than I, here is how I have procedure to fix that:

1. Edit the file/modules/projects/index.php
Move the line:
PHP Code:
$tabBox->add('vw_idx_proposed'$AppUI->_('All') . ' (' $all_projects ')'true500); 
That is placed before the last loop (foreach) to just after that, and remove the last parameter (500).
Then the “All” that will be displayed as the last tab, instead of the first one, and its tabindex will change to “8” instead of “500”. This value “8” may change in case you have customized the project status, so just take care to check what index will be generated for you.

2. Lastly, just change the file /modules/projects/vw_idx_proposed.php, line 10, replacing the number “500” to “8” (or the tab index generated for you).

Making these adjusts, both All and Gantt tabs may start to work.
Rafael Queiroz Gonçalves
Professional contact:
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT +10. The time now is 12:21 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.