Opened 14 years ago
Closed 13 years ago
#179 closed defect (fixed)
New sample templating method - doesn't work in Windows
Reported by: | adube | Owned by: | adube |
---|---|---|---|
Priority: | major | Milestone: | 1.2.0 |
Component: | samples | Version: | trunk |
Keywords: | bis-1.2.0 | Cc: |
Description
In #159, all samples were modified to use a single xslt template file now located in the template directory. It uses php methods to include header and footer files in order to have unique descriptions for each sample
The issue is : it doesn't work in Windows. The header and footer files are not included.
Change History (7)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
I have it working on my own windows machine with r1002. However, it won't work on geoprisma.org because there is a space in the full path where the footer/header files are (e.g. "C:\Program Files\...). Bugger ! I quit ;-).
comment:3 by , 13 years ago
Milestone: | → Future |
---|
comment:4 by , 13 years ago
Milestone: | Future → 1.2.0 |
---|---|
Version: | → trunk |
This should be automatically fixed by #356.
comment:5 by , 13 years ago
Keywords: | bis-1.2.0 added |
---|
comment:6 by , 13 years ago
Owner: | set to |
---|
Various tests that give some but -- not satisfactory -- results :
include
rather thantreturn
in the getSampleHeader and getSampleFooter functions in config.phpreturn include($strFile);
instead ofreturn $strFile;
in the getSampleIncFile function in config.phpBoth those give lots of junk and concatenate both the header and footer at the top of the page.