3
As it stands you cannot expose the news item's body text from within the block template because no variable has been passed to the XOOPS template.
The function that generates the values and passes them into the XOOPS template for this block is :
function b_news_top_show($options)
and it can be found in :
/news/blocks/news_top.php
You will have to edit this function, obtain the story text :-
1. Change line 32 - to include the "hometext" field in the db query
$sql = "SELECT storyid, title, published, hometext, expired, counter FROM ".$xoopsDB->prefix("sto... etc
2. Around line 42 add story text to the $news array as 'preview' or whatever
$news['preview'] =$myts->makeTboxData4Show($myrow["hometext"]);
3. Truncate $news['preview'] as you please.
3. In your block template reference the variable $news.preview as you please.
Good Luck
Venezia