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]
notethe 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

Login

Who's Online

1031 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 1031


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits