hello UNCTAD,
We figured out a way for your to fix the folder's date. It will actually remove it from report folders.
First, make a backup of the reportexplorer.js file, before modifying it.
Then find the file <website>/ReportFolders/reportExplorer.js. Edit it with notepad. Find the function onPageLoad, and replace the whole function with this code:
function onPageLoad() {
onPageLoadGlobal();
onLayoutResize(true);
if (typeof(ObjWdsForm.RF_ReportName) != 'undefined') {
setTimeout("myfocus(ObjWdsForm.RF_ReportName);", 1);
}
setTimeout("onLayoutResize(false);", 10);
//customization - remove dates from lines representing folders.
var clDiv = document.getElementById("SpanTableContents");
var clTable = clDiv.firstChild;
for (var i = 0; i < clTable.rows.length; i++) {
var clRow = clTable.rows[i];
var bFolder = false;
for (var j = 0; j < clRow.cells.length; j++) {
var clCell = clRow.cells[j];
if (clCell.innerHTML.indexOf("OnFolderClick") > 0) {
bFolder = true;
}
if (bFolder) {
if (clCell.className.indexOf("RFDate") > 0) {
clCell.innerHTML = "";
}
}
}
}
}
We have internally tested it with a WDS 8.1 site, in IE 8 and FireFox 5, without any issues.
If you don't feel comfortable doing this yourself, you can send us the file at
Cet e-mail est protégé contre les robots collecteurs de mails, votre navigateur doit accepter le Javascript pour le voir
or use the file transfers application on the right side of our web site, and we can modify the code for you and send the file back.
Gilles.