1
zephyros
Showing hometext's content in "Recent News" block
  • 2003/12/11 9:01

  • zephyros

  • Just popping in

  • Posts: 8

  • Since: 2003/12/11


Hi guys,

I want to display hometext for each item in recent news block. I added "hometext" in the select statement and also assign it to a variable:

$news['hometext'] = $myrow['hometext']; or
$news['hometext'] = $myts->makeTboxData4Show($myrow['hometext']);

And then i modified news_block_new.html to display the hometext content. It works fine with plain text. But once i have a picture in it, it will not show the pic but something like this:
<img]http://mysite/images/pic.jpg[/img]
note: the first '<' is actually a '['

It shows the picture in news item block but not the "recent news" block. Any idea how i can fix this