|
|
|
Forum Member
      
Group: Forum Members
Last Login: 8/17/2005 10:23:14 PM
Posts: 48,
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.
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
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.
|
|
|
|
|
Famous Writer
      
Group: Customers
Last Login: Today @ 11:23:05 AM
GenoPro Version: 2.0.1.4
Posts: 438,
Visits: 3,414
|
|
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'
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
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.
|
|
|
|
|
Famous Writer
      
Group: Customers
Last Login: Today @ 11:23:05 AM
GenoPro Version: 2.0.1.4
Posts: 438,
Visits: 3,414
|
|
| I get the idea, unfortunately I don't know how to write the content of file 'toc_pictures.htm' page
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
You could copy from toc_individuals.htm and modify the code to display picture information.
|
|
|
|
|
Famous Writer
      
Group: Customers
Last Login: Today @ 11:23:05 AM
GenoPro Version: 2.0.1.4
Posts: 438,
Visits: 3,414
|
|
| Thanks, I will try this and see if I make a mess of it or not!
|
|
|
|
|
Forum Member
      
Group: Forum Members
Last Login: 8/17/2005 10:23:14 PM
Posts: 48,
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."
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875 | | | |