Home Forums Plugin Support WP Project Manager Pro Show Messages instead of Activity after opening project

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  Sekander Badsha 4 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26862

    sturz.admin
    Member
    Post count: 14

    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

    #26983

    Sekander Badsha
    Member
    Post count: 2067

    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.

    #27085

    sturz.admin
    Member
    Post count: 14

    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

    #27385

    Sekander Badsha
    Member
    Post count: 2067

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

    #27391

    Sekander Badsha
    Member
    Post count: 2067

    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 5 posts - 1 through 5 (of 5 total)

The topic ‘Show Messages instead of Activity after opening project’ is closed to new replies.