1
gooloomoo
(News 1.44) The Random news in right block doesn't support html?
  • 2006/10/18 23:49

  • gooloomoo

  • Not too shy to talk

  • Posts: 110

  • Since: 2006/6/27


I use xk editor as default for News 1.44, it works fine. But after I post a news the Random news in right block(I put it there) show the html code instead of the correct content.
I tried recent news in right block, it shows the right thing.
Please help.

2
tcnet
Re: (News 1.44) The Random news in right block doesn't support html?
  • 2006/10/19 0:21

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


news/blocks/news_randomnews.php line 69 uses:

$news['teaser'] = xoops_substr(strip_tags($myts->displayTarea($story->hometext)), 0$options[3]+3);

Try 
replacing it with this code from news/blocks/news_top.php (recent news block}:

$news['teaser'] = xoops_substr(strip_tags($story->hometext()), 0$options[3]+3);

Just comment out the old line with // and insert the new line of code to test.

3
gooloomoo
Re: (News 1.44) The Random news in right block doesn't support html?
  • 2006/10/19 18:32

  • gooloomoo

  • Not too shy to talk

  • Posts: 110

  • Since: 2006/6/27


Thank you very much.

Login

Who's Online

161 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

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

Latest GitHub Commits