The following issue has been updated:
Updater: Johannes Schaefer (mailto:[EMAIL PROTECTED])
Date: Thu, 24 Feb 2005 8:00 AM
Comment:
The patch attached is a hack to
forrest\main\webapp\skins\common\scripts\breadcrumbs.js
which simply inserts "index.html" at the end of the path.
for( var i = 0; i < crumbs.length; i++ )
{
- xhtml += '<a href="' + crumbs[i][1] + '" >';
+ xhtml += '<a href="' + crumbs[i][1] + 'index.html" >';
xhtml += unescape( crumbs[i][0] ) + '</a>';
if( i != (crumbs.length-1) )
{
Changes:
Attachment changed to patch.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.cocoondev.org//browse/FOR-227?page=history
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org//browse/FOR-227
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-227
Summary: static html site: index.html missing in links
Type: Bug
Status: Unassigned
Priority: Minor
Project: Forrest
Versions:
0.6
Assignee:
Reporter: Johannes Schaefer
Created: Thu, 22 Jul 2004 5:10 PM
Updated: Thu, 24 Feb 2005 8:00 AM
Environment: any
Description:
When creating a static html site (running command "forrest")
links in the document that point to a directory (index.html)
are broken when using the site without a server (file://)
To fix: add the filename to the links, i.e.
create <a href="../chapter1/index.html">
instead of <a href="../chapter1/">
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira