Why default.htm and not index.htm ?
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Why default.htm and not index.htm ? Expand / Collapse
Author
Message
Post #8876 Posted 10/13/2005 5:58:45 AM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 11/18/2008 6:37:44 PM
GenoPro Version: 2.0.1.6
Posts: 150, Visits: 629
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

Post #8877 Posted 10/13/2005 7:06:44 AM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:24:37 PM
GenoPro Version: 2.0.1.6
Posts: 825, Visits: 7,407
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
Post #8878 Posted 10/13/2005 7:22:30 AM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 11/18/2008 6:37:44 PM
GenoPro Version: 2.0.1.6
Posts: 150, Visits: 629
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.

Post #8879 Posted 10/13/2005 7:42:15 AM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:24:37 PM
GenoPro Version: 2.0.1.6
Posts: 825, Visits: 7,407
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
Post #8882 Posted 10/13/2005 8:53:42 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
I will add a file named index.htm and index.html mapping to default.htm.

Post #8884 Posted 10/13/2005 9:11:08 AM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 11:23:05 AM
GenoPro Version: 2.0.1.4
Posts: 438, Visits: 3,414
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.  ;)

It all works perfectly! :P

Post #8898 Posted 10/14/2005 8:11:35 PM


Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 9/5/2008 11:03:07 AM
GenoPro Version: 2.0.1.2
Posts: 44, Visits: 211
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!
Post #8899 Posted 10/14/2005 8:26:38 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
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.

Post #18148 Posted 6/22/2007 10:38:48 PM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/4/2008 10:30:00 PM
Posts: 12, Visits: 81
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.
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: