nice looking site by the way...
Ok, so I looked at the source of the rendered page when selecting a category and between the header and data table, I see this code...
<h2>Cultural Connections:</h2>
<script language="javascript">
function getfilename(f, ft){
var trimName = "";
var lastSlash = f.lastIndexOf("/");
if (ft === "Links (URLs to relevant sites)")
{
trimName = "<a href=" + f + " target='_blank'><img src=/Portals/1/link_icon.gif align='absMiddle'>" + f + "</a>";
} else {
trimName = "<a href=" + f + "><img src=/Portals/1/download_arrow.gif align='absMiddle'>" + f.substring(lastSlash+1) + "</a>";
}
return trimName;
}
</script> |
Then when I try to view the 'All Files' category, I just see this...
So, looking at the module source code nothing jumps out at me that would look like an issue, so can you tell me how you are inserting that javascript function? In which template file have you added the code? Can you either send me your header.html/header.xml files ( steve.fabian AT dotnetnuke.com ) so I can look at them? or at least post them here for review? Oh, and your resource file as well so I can verify that you have the correct key and value for the All Files entry.