Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

problem with lay-out and page footer in pdf

johan
Posts: 392
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium

Re: problem with lay-out and page footer in pdf

Unread post by johan »

Anorman,

I'm glad I'm not alone with this problem. :D
Hope for us that someone knows a solution.

Seems that can grow, ... isn 't working properly in pdf.

Johan
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: problem with lay-out and page footer in pdf

Unread post by admin »

Guys,

Does pdf_fixes.zip in http://forums.nubuilder.cloud/viewtopic.p ... 7847#p9799

fix it?

Steven
johan
Posts: 392
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium

Re: problem with lay-out and page footer in pdf

Unread post by johan »

Steven,

It didn't solve the problem.

After I created a php.ini (see http://forums.nubuilder.cloud/viewtopic.php?f=4&t=7829) my report footer appears again.

Johan
johan
Posts: 392
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium

Re: problem with lay-out and page footer in pdf

Unread post by johan »

Steven,

In zzsys_activity the new report Builder (since build 11.09.19 ) sets
$this->Controls[0]->CanGrow = 'Yes'; in sat_report_display_code.
This is causing the problem. When I change 'YES' in 'True' everything seems alright.

Is it a bug?

Greetings
Johan
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: problem with lay-out and page footer in pdf

Unread post by admin »

Johan,

Good find!

Please let me know if this fixes it.
nureportbuilder.zip
(24.2 KiB) Downloaded 324 times
You'll need to open and save the report again though.

Steven
johan
Posts: 392
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium

Re: problem with lay-out and page footer in pdf

Unread post by johan »

Steven,

It does a part of the job.

When I create a new field or edit an existing field in a report Nubuilder sets CanGrow = 'True'; in zzsys_activity so that part is OK.

But The fields that where already CanGrow = 'Yes' stays the same (Yes) after save.


Another problem I still experience is that I can't add images (logo) in pdf report. Don't know how to solve this.

Johan
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: problem with lay-out and page footer in pdf

Unread post by admin »

Johan,

Just run this in phpmyadmin

(do a backup first)

Code: Select all

update zzsys_activity set sat_report_display_code = REPLACE(sat_report_display_code, "->CanGrow             = 'Yes';", "->CanGrow             = 'True';")
Steven
johan
Posts: 392
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium

Re: problem with lay-out and page footer in pdf

Unread post by johan »

Steven,

This did the job, works fine now.

Thanks again,
Johan
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: problem with lay-out and page footer in pdf

Unread post by admin »

Excellent!
Locked