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

GenoPro Support Forum




Problem when displaying the report as one frame among another frames

Click to view RSS...
Author
Posted Friday, December 1, 2006 - Post #14868
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
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?

Edited: Sunday, December 3, 2006 by beraha

Posted Saturday, December 2, 2006 - Post #14902
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Thursday, April 10, 2025
Posts: 4,886, Visits: 22,776
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.
Posted Saturday, December 2, 2006 - Post #14915
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
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.

Edited: Sunday, December 3, 2006 by beraha

Posted Saturday, December 2, 2006 - Post #14917
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
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.

Poolzone  a mere cog in a revolution

Posted Saturday, December 2, 2006 - Post #14918
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
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.

Edited: Sunday, December 3, 2006 by beraha

Posted Saturday, December 2, 2006 - Post #14919
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
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.

Poolzone  a mere cog in a revolution

Posted Sunday, December 3, 2006 - Post #14921
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
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

<html>
<head>
<frameset rows="15%,85%">
  <frame src="top.htm">
  <frame src="http://familytrees.genopro.com/Ron/HarryPotter/"  name="report">
</frameset>
</head>
</html>

And here is the code of the top.htm

<html>
<head>
<body>
<b> Please choose a family report: </b>
<br>
<a href ="http://familytrees.genopro.com/JcMorin/spock/" target ="report">Mr spock family report</a><br>
<a href ="http://familytrees.genopro.com/Ron/HarryPotter/" target ="report">Harry Potter family report</a><br>
</body>
</head>
</html>

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



index.html (186 views, 203 bytes)
top.htm (78 views, 336 bytes)


Edited: Sunday, December 3, 2006 by beraha
Posted Sunday, December 3, 2006 - Post #14925
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Thursday, April 10, 2025
Posts: 4,886, Visits: 22,776
Thanks for the tip.  Ron will take a look at it when he gets back on Monday.
Posted Sunday, December 3, 2006 - Post #14939
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
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.

Poolzone  a mere cog in a revolution

Posted Sunday, December 3, 2006 - Post #14944
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 1 hour ago
Posts: 3,419, Visits: 26,419
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!


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh