- Posts: 2569
Question
Header and footer on PDF reports
- norwegian_sardines
-
- Offline
- Platinum Member
-
Ken
Please Log in or Create an account to join the conversation.
- sevtor
-
Topic Author
- Offline
- New Member
-
It looks as if I need git (which I have but not used), composer and npm, and then clone the entire webtrees??
Well, I have been programming for 60 years now, and that looks as too much work. app/report does not follow all white-space rules but works. I can test the other reports, provide info on translations that are needed. How to add own modules? I can't find information about that.
webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Please Log in or Create an account to join the conversation.
- Franz Frese
-
- Offline
- Platinum Member
-
Sind deine Änderungen am webtrees code kompatibel mit den Standard reports?
Sind dort häufige Änderungen zu erwarten? Warum wurden sie durchgeführt bzw was bewirken sie?
Software development in a loose group (as public domain) doesn't make sense without github (or similar), so try doing it through it or try to find someone to do it for you.
Are your changes to the webtrees code compatible with the standard reports?
Are there frequent changes to be expected? Why were they carried out or what do they achieve?
ps: the link in your footer of this forum goes to https, but that does not work well. There you must use torstendahl.se/demo to show correct or you do the necessary changes for https to work correctly.
Please Log in or Create an account to join the conversation.
- Franz Frese
-
- Offline
- Platinum Member
-
you changed PdfRenderer.php, but but that is not used in your modules.
So, if that is a correction for the existing module: describe the change, perhaps the issue number that is corrected with that change.
Then that can simply be uploaded as pull request.
Please Log in or Create an account to join the conversation.
- Franz Frese
-
- Offline
- Platinum Member
-
the modules family-history and family-individuals do use a changed ReportParserGenerate.
the module descendants-overview and family-tree use the changed ReportParserGenerate indirectly.
So for the other changed webtrees Report Code, you could explain, what it does better than the original code. (so a pull request could be done for each of these files).
Perhaps you can help with a description or something else.
Please Log in or Create an account to join the conversation.
- sevtor
-
Topic Author
- Offline
- New Member
-
1. testing other reports
2. "beautfying" the code
3. describing changes and why they are introduced
I have a clone of webtrees and will try to make a pull request later!
webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Please Log in or Create an account to join the conversation.
- xiao
-
- Offline
- Junior Member
-
- Posts: 220
Looking forward to your workI am working on this but other duties intervened.
1. testing other reports
2. "beautfying" the code
3. describing changes and why they are introduced
I have a clone of webtrees and will try to make a pull request later!
Please Log in or Create an account to join the conversation.
- sevtor
-
Topic Author
- Offline
- New Member
-
It remains to submit the new report modules but I think that is easier.
There is also a need to create translations. I have a translation file for Swedish but it should be created with Weblate and that requires that the phrases to translate are extracted which I guess will be done when the pull request is accepted.
webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Please Log in or Create an account to join the conversation.
- sevtor
-
Topic Author
- Offline
- New Member
-
The phpstan check says that an error is ignored but still reports it as an error which prevents the PR from being forwarded to review. And the resuilts from checks for php 8.4 are not understandable to me.
The code that stops php 8.1 - 8.3 has been there as long as I know.
Please help me! I don't understand how to proceed from here...
webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Please Log in or Create an account to join the conversation.
- Franz Frese
-
- Offline
- Platinum Member
-
Please Log in or Create an account to join the conversation.
- sevtor
-
Topic Author
- Offline
- New Member
-
In my profile I have given torstendahl.se/demo/ where I have most of the new features. When used the address is changed to use https instead. My "real" site is torstendahl.se/webtrees but there I require login.
webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Please Log in or Create an account to join the conversation.
- sevtor
-
Topic Author
- Offline
- New Member
-
webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Please Log in or Create an account to join the conversation.
- bertkoor
-
- Offline
- Platinum Member
-
- Greetings from Utrecht, Holland
github.com/fisharebest/webtrees/pull/4945
And the file that's giving issues:
github.com/fisharebest/webtrees/pull/494...8591f93bec8de82fb3e4
It looks like a static code analyser found a bit more findings than in the previous version.
Just let Greg handle that

stamboom.BertKoor.nl runs on webtrees v2.2.1
Please Log in or Create an account to join the conversation.
- sevtor
-
Topic Author
- Offline
- New Member
-
webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Please Log in or Create an account to join the conversation.
- bertkoor
-
- Offline
- Platinum Member
-
- Greetings from Utrecht, Holland
Maybe you can grab his attention by creating an issue , referencing the PR and the issue by links back & forth.
stamboom.BertKoor.nl runs on webtrees v2.2.1
Please Log in or Create an account to join the conversation.
- sevtor
-
Topic Author
- Offline
- New Member
-
webtrees 2.1.18, php 8.1.27, torstendahl.se/demo/
Please Log in or Create an account to join the conversation.