This topic contains 4 reply and 2 voices, and was last updated by Sekander Badsha 5 years ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
September 16, 2014 at 11:27 am 26862
Sekander Badsha Hi, i'm really looking forward to the new update sometime :-) i like your plugin really much. Where and how can i change the redirect page after opening a project? I'd like to see first the messages tab instead of the activities. Kind regards SturZ
September 18, 2014 at 7:20 pm 26983
Sekander Badsha Sekander Badsha

Hello Fernando,
Open ajax.php which is located at “wp-content/plugins/wedevs-project-manager/class/” and go to line number 208.
You will see something like 'url' => cpm_url_project_details( $project_id )
You have to replace it by 'url' => cpm_url_message_index( $project_id )

That should solve your issue. Let me know if you feel confused.

September 20, 2014 at 3:12 pm 27085
sturz.admin sturz.admin

Hi Sekander Badsha

Thanks for your reply. Unfortunately this is not working. In my case the line was line 199, but even having replaced the url to the message_index, it always opens the activity log.

Any idea why this could be happening? I tried it with and without a comma after the line, makes no difference.

Kind regards

Fernando

September 24, 2014 at 1:36 pm 27385
Sekander Badsha Sekander Badsha

Hello Fernando,
The above provided code will work upon project creation, but not upon browse. Please allow me couple of hours to test.

September 24, 2014 at 1:58 pm 27391
Sekander Badsha Sekander Badsha

Open index.php which is located inside “wp-content/plugins/wedevs-project-manager/views/project/” and go to line number 44
You will see something like <a href="<?php echo cpm_url_project_details( $project->ID ); ?>">
Replace this line with <a href="<?php echo cpm_url_message_index( $project->ID ); ?>">

That will do the job. Let me know if you feel confused or need more clarification.

Viewing 4 Posts - 1 through 4 (of 4 total)