|
|
Forum Members
Last Login: Wednesday, August 17, 2005
Posts: 24,
Visits: 0
|
Good day to all,
I'm thinking of making a report that would be more visual and more easily navigated. To do this, I think the model of 'one generation' excluding siblings on each page would do the trick. The basic layout of the page would be something like this:
-------------------------------------
|names | parents |
|list | |
|bar | current selected Info |
| | spouse individual |
| | |
| | children |
-------------------------------------
The figure above hopefully shows the idea (ignore the blank lines in between). All of these 'objects' would be pictures with just first name below the picture of which selected individual bigger/highlighted, except 'Info', which is not a picture but a short description of the selected invidual (like Full name, birth, death, and other basics). Clicking on the 'selected individual' image would open a page with full information available. Clicking on any other picture would lead to same kind of page with that person in the center.
So actually this would change the 'architecture' of the report as well as the roles of family.htm and individual.htm a bit while this would provide all the main information on one page. Problems that I can think of is including family pictures - where should they be put? Anyway, this kind of report would serve my purposes well and probably others' too. At least one can consider this as a choice. What do you think?
One more problem is that I don't know very well how to do this, so any help from anyone is appreciated. And ideas are always welcome.
Another idea is to turn the genogram upside down, into a tree. Many people like to think genogram as a family tree, where ancestors are 'the ROOTS of the family' and therefore descendants go up, higher in the tree. Children are leafs of the tree.
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
As a suggestion, you do not need to fit the report with two templates such as Individual.htm and Family.htm . If you open the file Config.xml , you will notice you can additional HTML templates and change the sequence those files are feed to the report generator. If you need to add another "Table of Contents", say for pictures, just go ahead and add the following:
If you want to have a special HTML page for each picture, you can add the following to Config.xml .
<ReportGenerator> <Report Template="picture.htm" OutputFile="pic.{id}.htm" For="Pictures" /> </ReportGenerator> |
The report generator will repeat the file picture.htm for each picture object producing a file named "pic.???.htm" where ??? is the permanent ID of the picture.
Edited: Wednesday, June 14, 2006 by
GenoProSupport
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
As a suggestion, you do not need to fit the report with two templates such as Individual.htm and Family.htm . If you open the file Config.xml , you will notice you can additional HTML templates and change the sequence those files are feed to the report generator. If you need to add another "Table of Contents", say for pictures, just go ahead and add the following: <ReportGenerator> <Report Template="toc_pictures.htm" /> </ReportGenerator> |
If you want to have a special HTML page for each picture, you can add the following to Config.xml . <ReportGenerator> <Report Template="picture.htm" OutputFile="pic.{id}.htm" For="Pictures" /> </ReportGenerator> |
The report generator will repeat the file picture.htm for each picture object producing a file named "pic.???.htm" where ??? is the permanent ID of the picture.
I tried this but I got this error message :- Error in Config.xml at line 37: Unable to open template file 'toc_pictures.htm'
Edited: Wednesday, June 14, 2006 by
GenoProSupport
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
I tried this but I got this error message :- Error in Config.xml at line 37: Unable to open template file 'toc_pictures.htm' You need to write the content of file 'toc_pictures.htm'. What I mean is the report generator is capable to handle multiple templates, and you can add extra. For instance, if you want to have a list of places, you can add another HTML file to generate a report on places. For instance, each place can have pictures, so you can have a picture album for each place.
Edited: Wednesday, June 14, 2006 by
GenoProSupport
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
I get the idea, unfortunately I don't know how to write the content of file 'toc_pictures.htm' page
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
You could copy from toc_individuals.htm and modify the code to display picture information.
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
Thanks, I will try this and see if I make a mess of it or not!
|
|
|
Forum Members
Last Login: Wednesday, August 17, 2005
Posts: 24,
Visits: 0
|
As a suggestion, you do not need to fit the report with two templates such as Individual.htm and Family.htm . If you open the file Config.xml , you will notice you can additional HTML templates and change the sequence those files are feed to the report generator. If you need to add another "Table of Contents", say for pictures, just go ahead and add the following:
Thanks for the tip.
Unfortunately the new scripting code is currently way beyond my abilities, way too hard. The old script was fairly understandable and modifiable, but this one requires skills in programming, like you said, and similar kind of thinking. Plus, the documents are unreadable because of mixing VBScript and HTML code (I know how to get rid of the html for editing, but there's gotta be a reason to have them there in the first place so...).
Regarding the idea I proposed; I really would like to have the pictures linked to "ind_xxxxx" (or so) FOR NAVIGATING, not to the picture file itself. I cannot find Report.WritePicture anywhere in your documentation but I bet there's a href to the picture file! I don't (at the moment) have need for any (more) table of contents.
Another thing I don't understand is why oh why is there and what is the or /> in general? That's not HTML, is it? Why's there two of the kind?
Einstein said: "Everything should be made as simple as possible, but not simpler."
Edited: Wednesday, June 14, 2006 by
GenoProSupport
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
The old script was fairly understandable and modifiable The new report generator does support the "same" scripting as the old report generator. You can insert simple tags in the HTML templates. The reason why the new script looks more complicated is because the report generator does more, and therefore its code is more complicated, however the report engine does support simple scripting.
Another thing I don't understand is why oh why is there and what is the <br /> or /> in general? That's not HTML, is it? Why's there two of the kind? For compatibility with existing browser, the Break tag is written as <br /> rather than <br/> or <br>. Most browser will accept all three forms, however some web browsers may not like the <br/> tag. The <br> tag is not recommended because it is not XML/XHTML compatible.
Edited: Wednesday, June 14, 2006 by
GenoProSupport
|