qdPM Extended
project management software for growth
qdPM Extended based on free version of qdPM and has extended functionality and extra features read more.
Home About What's New? Features Demo Buy Now Translations Bug Report Forum Blog Contact Us

Reminder broken link

<<

Samuele

Posts: 5

Joined: Thu Dec 11, 2014 12:21 pm

Post Fri Jan 02, 2015 7:01 am

Reminder broken link

The links that arrive through the report reminder are broken.

This is the link that comes from the reminder:

  Code:
http://mysite.com/tasksComments/index?projects_id=224&tasks_id=3259


this is the real one:

  Code:
http://mysite.com/index.php/tasksComments?projects_id=181&tasks_id=3047


I noticed that index and tasksCommentsare reversed.

How can I fix this error?

edit:add tag code
<<

Samuele

Posts: 5

Joined: Thu Dec 11, 2014 12:21 pm

Post Sun Jan 11, 2015 2:24 pm

Re: Reminder broken link

Thank you for your response.
I answered yourself.
Looking in different files.
I post the solution:

open the file in qdPMroot\core\lib\model\doctrine\UserReports.class.php

find the line: #120
  Code:
$html .= '<li><a href="' . genBatchUrl('tasksComments/index?projects_id=' . $t['projects_id'] . '&tasks_id=' . $t['id']) . '">' . (isset($t['TasksTypes']['name']) ? $t['TasksTypes']['name'] . ': ':'')  . $t['name']  . (isset($t['TasksStatus']['name']) ? ' [' . $t['TasksStatus']['name'] . ']':'') . '</a></li>';

replace with:
  Code:
$html .= '<li><a href="' . genBatchUrl('index.php/tasksComments?projects_id=' . $t['projects_id'] . '&tasks_id=' . $t['id']) . '">' . (isset($t['TasksTypes']['name']) ? $t['TasksTypes']['name'] . ': ':'')  . $t['name']  . (isset($t['TasksStatus']['name']) ? ' [' . $t['TasksStatus']['name'] . ']':'') . '</a></li>';

I bought two months ago qdPM Extended and wonder how a bug coarse of this type has not been solved before.
greetings
Samuele

Return to Version 3 Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.