Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

problem with lay-out and page footer in pdf

johan
Posts: 422
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

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: 2824
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

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: 422
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

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: 422
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

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: 2824
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

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
You'll need to open and save the report again though.

Steven
You do not have the required permissions to view the files attached to this post.
johan
Posts: 422
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

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: 2824
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

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: 422
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

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: 2824
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

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

Unread post by admin »

Excellent!
Locked