Print not works

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Kirill
Posts: 613
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Print not works

Post by Kirill »

I have Matis 1.1.0rc2.
When I click print on task (link like this /bug/print_bug_page.php?bug_id=393) I redirect to task view (/bug/bug_view_page.php?bug_id=393) and I can see page with print previw task :( .
hatamoto
Posts: 2
Joined: 17 Jan 2008, 14:38

Re: Print not works

Post by hatamoto »

Hi,

I had the same issue. It seems that there is a problem if you have chosen the attribute 'SIMPLE_ONLY' in your config file (config_inc.php) as displayed in the bottom. After I changed the entry to BOTH I was able to print the issue.

###############################
# Mantis Display Settings
###############################

# --- advanced views --------------
# BOTH, SIMPLE_ONLY, ADVANCED_ONLY
$g_show_report = SIMPLE_ONLY;
$g_show_update = SIMPLE_ONLY; ==> has to be changed to BOTH
$g_show_view = SIMPLE_ONLY;
Kirill
Posts: 613
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Print not works

Post by Kirill »

hatamoto wrote: I had the same issue. It seems that there is a problem if you have chosen the attribute 'SIMPLE_ONLY' in your config file (config_inc.php) as displayed in the bottom. After I changed the entry to BOTH I was able to print the issue.
Thank you. But print work when I change all to BOTH.
hatamoto
Posts: 2
Joined: 17 Jan 2008, 14:38

Re: Print not works

Post by hatamoto »

There is also a redirection in the file 'print_bug_page.php':

if ( SIMPLE_ONLY == $g_show_view ) {
print_header_redirect ( 'bug_view_page.php?bug_id='.$f_bug_id );
}

So you can also comment this lines out to solve the problem.
Kirill
Posts: 613
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Print not works

Post by Kirill »

at me work this

Code: Select all

  $g_show_report      = SIMPLE_ONLY;
  $g_show_update      = SIMPLE_ONLY;
  $g_show_view      = SIMPLE_BOTH;
  
Kirill
Posts: 613
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Print not works

Post by Kirill »

hatamoto,
Thank you very much.
Post Reply