To set your own headlines you have to add your backend.php to the list. Once you do that then whatever you post in the news module you will have will come up there. Hope this is what you are looking for
global $xoopsUser;
if( $xoopsUser )
{
$pm_handler =& xoops_gethandler('privmessage');
$criteria = new CriteriaCompo(new Criteria('read_msg', 0));
$criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid')));
$pm = $pm_handler->getCount($criteria);
}
if( $pm )
{
echo "<a href="/xoop/html/viewpmsg.php" title="Read your new Private Messages">Private Messages($pm)</a>n";
}
else
{
echo "No new Private Messagesn";
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="900" height="115" alt="" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
global $xoopsUser;
if( $xoopsUser )
{
$pm_handler =& xoops_gethandler('privmessage');
$criteria = new CriteriaCompo(new Criteria('read_msg', 0));
$criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid')));
$pm = $pm_handler->getCount($criteria);
}
if( $pm )
{
echo "<a href="/xoop/html/viewpmsg.php" title="Read your new Private Messages"><img src=image.jpg></a>n";
}
else
{
echo "No new Private Messagesn";
}