PDA


View Full Version : News Archive Module - Module link problem


Stachel
06-13-2005, 06:30 AM
In: Module Shell Template Options

Option: Module Link
If you would like the title of this Module to link to another page on your site you may enter the file that this Module should link to here.

Is not doing that.

It's not making the module title "News Archives" link to the file that I'm putting into the box. Which is this:

forumdisplay.php?f=3

Brian
06-13-2005, 10:28 AM
If you'll look in your modules/news.php file for this bit of code:
$modulehtml .= $newsarchivebits;


And add this right above it:
$mods['link'] = '';
if ($archivemod['link'])
{
eval('$mods[\'link\'] = "' . addslashes($archivemod['link']) . '";');
}


That should take care of the problem.

Stachel
06-13-2005, 04:50 PM
Thanks Brian!

Wow, I found a real problem! :)

Stachel
06-13-2005, 05:01 PM
Shazam! That works!