33
Thanks, tzvook:
So, I know I'm just going to end up kicking myself here in some way or another. Have you had those times when you couldn't find the problem for the life of you, you know mostly what you're doing, somewhat, but there's something somewhere screwed up and you just can't get a handle on it. Well, this is the most recent example in recent memory of that feeling for me. I have
updated the system module, the weblinks module, both of them multiple times; I deleted the files in the templates_c directory, I set general prefs to "Update module template .html files from themes/your theme/templates directory", all to no avail. I just checked the file weblinks_header.html and the first six lines read:
Quote:
<script language="javascript">
function weblinks_hardlink(link,lid){
link.href='<{$module_url}>/visit.php?lid=' + lid;
return true;
}
</script>
<br />
<{if $logoshow == 1}>
<div align="center">
<a href="<{$module_url}>/index.php"><img src="<{$module_url}>/images/logo.gif" alt="logo" /></a>
</div>
<{/if}>
line 6 of weblinks_link.html reads:
[quote}
<a href="<{$link.url}>" onmousedown="return weblinks_hardlink(this,<{$link.lid}>)" target="_blank">
[/quote]
All the other files in the module directory have been edited as prescribed and updated.
I cleared out my browser cache (on both IE and FF), I turned off zlib compression, turned off caching on the module, all of these in case the data was being saved in cache. No luck though.
I am completely mystified as to why the file itself would have the proper code in it but the code doesn't make it, apparently, to be displayed.
At this point, I suppose the hack wouldn't matter that much but it is now a matter of pride and learning (AKA I'm PO'd).
Any thoughts would be appreciated...
Mike
MMM...It tastes like chicken! ...