Best practice forum (Archived)

Report Buidler Export reports to US Letter

 
PappasPeter
Report Buidler Export reports to US Letter
PappasPeter 发表于 2015年11月9日 Monday 23:40
 

It appears that A4 is hard coded into the report builder export function for PDF files.

Am I missing something or is there a setting that this can be changed from the default A4 to US Letter?

Thank you,

Peter

me
Re: Report Buidler Export reports to US Letter
AngusGeorge 发表于 2015年11月10日 Tuesday 15:57
小组 Totara

Hi Peter,

There isnt a setting - but I can certainly submit an enhancement request for the option to be available.

regards,

George.

 

 

 

PappasPeter
Re: Report Buidler Export reports to US Letter
PappasPeter 发表于 2015年11月10日 Tuesday 23:18
 

Thanks George,

 

It makes sense that this should be configurable.

What files would have to be changed to make the default US Letter?

Peter

该论坛帖子已被删除
2015年11月11日 Wednesday 13:54
该论坛帖子的内容已被删除,无法再访问。
PappasPeter
Re: Report Buidler Export reports to US Letter
PappasPeter 发表于 2015年11月11日 Wednesday 21:52
 

Thank you Petr,

on a test server for 2.7 I found the layout options in totara/reportbuilder/lib.php, function download_pdf() and was able to change 'A4' to 'LETTER' (apparently capitalization is important). This will work for us. :)

Peter