GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Grouping the code into a single .vbs file

Click to view RSS...
Author
Posted Friday, July 7, 2006 - Post #11767
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6

Last Login: Tuesday, December 16, 2008
Posts: 390, Visits: 1,271

Today I was translating, in French, the phrase “PhFamilyWith”. It should have been a simple matter but instead took me a full day to work out the coding. I don’t pretend to be proficient in vbs programming but what I discovered surprised me:

When the parameter “fHideFamilyDetails” = “N”, the codes to be written to the individual.htm files are initiated from within the script file “Lang.vbs” but when the said parameter = “Y”, the codes are initiated from within the “Individual.htm” template file.

Unless I miss something, I think the codes should not be split as they are now but all of them should be grouped together from within a single vbs script file. It will, I believe, make the codes more optimized and also make the debugging process far easier (especially for these language translations).

Unless it is Genopro’s intention, as Jean-Claude said somewhere, to possibly rewrite the whole report generator codes in C++.

 

Thank you.

Edited: Saturday, July 8, 2006 by GenoProSupport

Posted Friday, July 7, 2006 - Post #11768
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.0

Last Login: Wednesday, October 7, 2020
Posts: 952, Visits: 10,075
We plan to re-write the skin English Narrative report in JavaScript.  We will add comments and document how the skin works to allow people to easily modify the report template.

We are aware this skin is used by many individuals, and will be copied and modified many times.  We are waiting for Beta 19 when we revise our tags before doing this work.  Our website will also have the full technical documentation for the report generator.

Edited: Saturday, July 8, 2006 by GenoProSupport



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse