By imcon - Thursday, October 13, 2005
|
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
|
By appleshaw - Thursday, October 13, 2005
|
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
|
By imcon - Thursday, October 13, 2005
|
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.
|
By appleshaw - Thursday, October 13, 2005
|
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
|
By GenoProSupport - Thursday, October 13, 2005
|
I will add a file named index.htm and index.html mapping to default.htm.
|
By IainTait - Thursday, October 13, 2005
|
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!
|
By dougie - Friday, October 14, 2005
|
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.
|
By GenoProSupport - Friday, October 14, 2005
|
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.
|
By edanite - Friday, June 22, 2007
|
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.
|