3
Thank Quest. This I did, but it was not enough.
Meanwhile I wrote a small Hack that does the trick.
At the end of the function b_news_top_show() in the file news_top.php of the News-Module I check the name of the directory the current module (here: 'wfchannel') and the combination of get-params.
If it indicates that the current page is the index-page I do nothing (
1), but if the get-params indicate the its a subpage I empty the array with the new content (
2), with the result that the news block remains empty/is not shown.
if ( $xoopsModule->getVar('dirname') == 'wfchannel') {
if ( empty($_GET) ||
($_GET['sel_lang'] && !$_GET['pagenum']) ) {
// ([b]1[/b]) let is pass to display
} else {
$block = Array(); // ([b]2[/b]) EMPTY BLOCK => NO NEWS
}
}