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

GenoPro Support Forum




Why default.htm and not index.htm ?

Click to view RSS...
Author
Posted Thursday, October 13, 2005 - Post #8876
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

FamilyTrees.GenoPro.com
Customers
GenoPro version: 2.5.4.1

Last Login: Sunday, January 21, 2018
Posts: 41, Visits: 644
I have a question (maybe stupid but...) concerning generating of the report.

What is the reason that the main-starting page of the report is named default.htm and not index.htm? My IEv.6 is looking for index.htm on a web server. Therefore I need always to rename default to index. No big issue but I'd like to understand and probably not everybody is able to do it.

I tried to find topic concerning this subject but without success.

Thanks for an explanation

Posted Thursday, October 13, 2005 - Post #8877
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

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

Last Login: 7 hours ago
Posts: 1,584, Visits: 31,805
If you look at the files created by the Report Generator a file index.htm exists there in addition to default.htm. I am surprised that you can rename default.htm, unless you rename it as index.html. I am not sure what that would do to a report on a web site.

I agree it would be more useful if the starting page was from index.htm but this is because you need to have an index file and the present Generator is an extension of the basic version
Posted Thursday, October 13, 2005 - Post #8878
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

FamilyTrees.GenoPro.com
Customers
GenoPro version: 2.5.4.1

Last Login: Sunday, January 21, 2018
Posts: 41, Visits: 644
OK, if this is just temporary because we are testing the beta version - that's OK.

But the current templates (the new ron's or the skin supplied with 2b14b) do not generate index.htm. There is no such a file.

Posted Thursday, October 13, 2005 - Post #8879
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

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

Last Login: 7 hours ago
Posts: 1,584, Visits: 31,805
You are ahead of me there as I have not generated a a Report with the latest version, so a bit of tweaking needed in the Generator
Posted Thursday, October 13, 2005 - Post #8882
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, January 16, 2025
Posts: 4,886, Visits: 22,775
I will add a file named index.htm and index.html mapping to default.htm.
Posted Thursday, October 13, 2005 - Post #8884
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
I noticed this "problem" when I made the report, which is now on my web site, and I simply renamed "default.htm" to "index.html" as the existing links on the site pointed to this and it saved me having to change the links to the tree on each page.  Wink

It all works perfectly! Tongue

Posted Friday, October 14, 2005 - Post #8898
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
FamilyTrees.GenoPro.com
GenoPro version: 2.5.2.7

Last Login: Saturday, February 1, 2025
Posts: 28, Visits: 427
Is it possible to have the default condition as it is now (ie NOT creating an 'index.html')? I currently have a few introduction pages that use 'index.html' and then branch to 'default.html' to view the tree. For example, I have some family history pages and also info on how to download genoprobeta for the novice users.

Strive Strive
And be Alive!
Posted Friday, October 14, 2005 - Post #8899
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, January 16, 2025
Posts: 4,886, Visits: 22,775
dougie (10/14/2005)
I currently have a few introduction pages that use 'index.html' and then branch to 'default.html' to view the tree.

I recommend to generate your report in a separate folder (directory).  For instance, you can have your introduction pages into www.yoursite.com/genealogy/ and the genealogy report into www.yoursite.genealogy/report/.

Removing the files index.htm and index.html will be very simple: just edit the file config.xml and remove the entries.  Similarly, if you have custom pages, you may want to put them into the file Config.xml so they are processed by the report generator.

Posted Friday, June 22, 2007 - Post #18148
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers

Last Login: Friday, June 15, 2018
Posts: 28, Visits: 231
In my custom report, I have removed the existing index.html and renamed default.htm to index.html because I have several links to the directory (e.g. http://familytrees.genopro.com/harry-potter/ instead of http://familytrees.genopro.com/harry-potter/default.htm) and I didn't want to use the meta refresh redirect because it's not easy to go Back through such a redirect. What I did not realize when I did this was that default.htm is hard-coded as the report home in at least two places (home.htm and script.js).

For the moment, I have used mod_rewrite to fix this problem (because I didn't feel like uploading the report again), but I request that the report honor the <StartPage> element or some other parameter in Config.xml.

As a side note, I can't tell exactly what the <StartPage> element is used for.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!