8
Hi All,
Thanks to all of you that answered in the first place. I found a way to to do that. Here it goes:
1- Set the start page to none.
2- Remove the permission on ADMIN>GROUPS>ANONYMOUS to access the news module.
3- edit the file XOOPS_ROOT/include/checklogin.php
look in the code for the lines below:
=====================================
// RMV-NOTIFY
// Perform some maintenance of notification records
$notification_handler =& xoops_gethandler('notification');
$notification_handler->doLoginMaintenance($user->getVar('uid'));
// ADD THE LINE BELOW TO REDIRECT THE USER AFTER LOGIN TO THE NEWS PAGE.
$url = XOOPS_URL.'/modules/news/index.php';redirect_header($url, 1, sprintf(_US_LOGGINGU, $user->getVar('uname')));
=====================================
Now, it is working as i wanted, aonymous users see the headlines (block) but not the news and when they login the news page is their start page.
If you wanna see it in action my website is:
http://www.copainferno.com.brThanks again,
Alexandre.