By beraha - Friday, December 1, 2006
|
I was trying to put the entire family report as an "internal frame" among other frames on my website. But then - some Popup frames within the family report, such as the links to "places" under the "Most popular places" are not working. Here is a simple example with the "harry potter" report, which is under another "top" frame http://beraha3.50webs.com/frames/ Is there a solution for that problem?
|
By GenoProSupport - Saturday, December 2, 2006
|
I can see the problem, however the English Narrative Report was not designed for nested frames. We have special code to handle the case where a page from the report is loaded out of its context, and "re-frame" it. You are welcome to tweak the HTML code to suit your needs.
|
By beraha - Saturday, December 2, 2006
|
The reason that I need to put my report "under" another "top frame", is that I have more then one report to display in my website. I would like to have a "top frame", always visible, so people could switch among the reports. This feature is also good if someone makes the same report in two languages, and wants people to have the ability to switch between the languages by clicking an icon which is placed on the "top" frame. I use this method for a long time on my website and it worked just fine. The only problem is to handle the "popup frames" which are connected to the "places.htm" and to the "picture details". If it's not to much, Maybe Ron can find a solution, because I believe this feature might be good for a lot of people.
|
By Poolzone - Saturday, December 2, 2006
|
The only problem is to handle the "popup frames" The problem exists on your page before accessing the popup frame, or anything else on the Genopro Report. Click on the errors indicated on the bottom of the pages for details. 
Each report has a different error, which need to be corrected.Then it should work.
|
By beraha - Saturday, December 2, 2006
|
Hi Poolzone The problem occurs because I put the entire report within an external frameset. Look at this simple example. http://beraha3.50webs.com/frames On this example I took the link to the "Harry Potter" potter report and put the entire report in a frame.
|
By Poolzone - Saturday, December 2, 2006
|
This will be made much simpler when we can can have FTP access on genopro site. If you look at my test at http:familytrees.genopro.com/poolzone/test4 and access member 5B you will see a source reference 'genopro'. Genopro can be loaded into its own frame by this means within the popup without error. It appears the error is on your home page.
|
By beraha - Sunday, December 3, 2006
|
I made a simple test to ensure that the problem is not at my website Please look again at the changes I've made at: http://beraha3.50webs.com/frames Here is the code of the index.html And here is the code of the top.htm It's the most simple Html code and it has no errors. So, I'm sure that the problem is within the report. As I said before,The reason that I need to put my report "under" another "top frame", is that I have more then one report to display in my website. I would like to have a "top frame", always visible, so people could switch among the reports. This feature is also good if someone makes the same report in two languages, and wants people to have the ability to switch between the languages by clicking an icon which is placed on the "top" frame. I believe that solving this issue, might be good for a lot of people who wants to have the ability to switch among some reports
|
By GenoProSupport - Sunday, December 3, 2006
|
Thanks for the tip. Ron will take a look at it when he gets back on Monday.
|
By Poolzone - Sunday, December 3, 2006
|
Hi Beraha, YES, I see the problem now. I did not have time Yesterday to recreate, but have done so Today on http://familytrees.genopro.com/poolzone/test2/new1.html The scripting does not work under the new 'parent' frame. If 'home' is selected the parent frame is escaped and all works well. This is something in the report writer that Ron may be able to correct.
|
By genome - Sunday, December 3, 2006
|
Hi bereha, I afraid the problem may be too deeply rooted to be easily fixed. My initial findings are: Firstly your top frame is on a different web site to your GenoPro report, hence permission errors are generated when the GenoPro Report tries to change the title of the browser window. You can avoid this by publishing your GenoPro Report to the same web site as your top frame. Secondly the report's javascript uses its top frame (default.htm) to store some variables that are used in other frames and the script refers to them as 'top.<variable>'. You will either need to declare these variables in a script in your top frame or change the GenoPro Report's script to take account of the changed hierarchy. I have not reviewed all the javascript used in the reports. There may well be other places where the script references the 'top' frame via javascript's built-in 'top' object. You will need to examine the javascript closely for references to 'top' and change as appropriate. There is also the issue identified by poolzone, i.e. clicking 'home' resets the windows URL to the the report's 'default.htm' page. I agree a solution to this issue will be useful to others who wish to publish their trees in this way. Unfortunately at present I can see no simple fix. If you do arrive at a solution please let us know here!
|
By GenoProSupport - Sunday, December 3, 2006
|
At the moment, the priority is to release GenoPro 2.0. We need a stable product, so we only make bug fixes. After releasing GenoPro 2.0, we will continue improving the report generator and offer new features.
|
By Poolzone - Sunday, December 3, 2006
|
Hi Beraha, I know you want to achieve this within your frame, however in the interim, it is very easy to direct users to different language versions of your report, or different families in the way that the following example moves between Test2 and Test4. Just click on Link to Test? on either report. http://familytrees.genopro.com/poolzone/test4/default.htm You could also include an icon on each tree to redirect readers back to your main Web site.
|
By beraha - Sunday, December 3, 2006
|
poolzone (12/4/2006) I know you want to achieve this within your frame, however in the interim, it is very easy to direct users to different language versions of your report, or different families in the way that the following example moves between Test2 and Test4. Thank you for your suggestion. It seems that we have no other choice but to wait until after the release of Ver2, and only then, maybe Ron will find a solution for the cases of an "External Parent frames". In my point of view, the main advantage of this method, is that I can configure my "parent frames" as I like on my own website, and still make links to all the reports which are located on Genopro server. It's much more faster to update a report from genopro itself, rather than use a standard FTP. Even when genopro will have an FTP access, so we'll be able to upload our entire website to Gonopro's servers, We'll still need a solution for this issue of the "External Parent frames" or of the "External top Frame". I wonder When Genopro will start to work on Beta3 : ::. Maybe then they could implement this feature.
|
By Poolzone - Sunday, December 3, 2006
|
"External Parent frames" or of the "External top Frame". I have resolved this issue in the main. Please see the following example at http://familytrees.genopro.com/poolzone/test6/new1.html I am unable in the next couple of days to further this concept, but as you will see on my example above, the Genopro report is working properly within the frame of the page New1.html. It needs only for you to install this within your own web page in a similar manner and work the report selection. I have not tested it from a remote FTP site, however I do not envisage that this will be an issue. It appears there is no issue with Genopro's English Narrative Report, merely the way we introduce it into the frame.
|
By beraha - Monday, December 4, 2006
|
Ron (12/3/2006) If you do arrive at a solution please let us know here!I think I've found something. I've changed "top." with "parent." in the "script.js" file using "CTRL-H" and made all the replacements, and it seems to open now the "popups windows"  I hope I did nothing wrong.
|
By Poolzone - Monday, December 4, 2006
|
Perhaps you would be so kind as to post your example so we can see the result?
|
By beraha - Tuesday, December 5, 2006
|
poolzone (12/5/2006) Perhaps you would be so kind as to post your example so we can see the result?I'll be glad to. Here is a simple and small example: http://familytrees.genopro.com/beraha/test-root/default.htm Maybe it's not an elegant solution, But it works !!! You have to change the "Script.js" as I said before, on your reports skin changed "top." with "parent." in the "script.js" file using "CTRL-H" and make all the replacements Also - you have to create a new skin like "Root-skin" and change the file "default.htm" by deleting most of it, and adding just a few lines <%[@ IncludeFile "Code/Util.vbs" ]%> <%[ InitGlobalVariables Set doc = ReportGenerator.document Set oStringDictionaryNames = Session("oStringDictionaryNames") strTitle = Session("Title") ]%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html> <head> <meta http-equiv="Content-Language" content="en"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>@[ Report.WriteText strTitle ]@</title> <meta name="description" content="@[WriteMetaDescriptionReport]@" /> <meta name="keywords" content="@[WriteMetaKeywordsReport]@" /> <script src="script.js" type="text/javascript"></script> <script type="text/javascript"> // define & initialize some global vars var saveRhs; var saveLower; var svgMaxButton = new Image(16, 16); var svgResButton = new Image(16, 16); svgMaxButton.src = "images/maximize.gif"; svgResButton.src = "images/restore.gif"; var svgToggleState = svgMaxButton.src; </script> </head> <frameset rows="16%,84%"> <frame src="top.htm"> <frame src="under.htm" name="report"> </frameset> </html> add a new file to your root-skin folder- "Top.htm" Add another new file to your "Root-skin" Folder - "under.htm" <html> <body> <br><br><br> <p><h2> Choose your chosen report from the top frame </h2><p> </body></head> </html>
And publish a Blank GNO file using that new Root skin. Remember that your reports (i.e - Test1 & Test2), and also your "Root report" should use a skin with the updated script.js Then you have to type in your Internet-Explorer the link to your "Root Report" That's it. 
|