1
MadFish
Spotlight - how to turn off other news??
  • 2003/12/17 8:34

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


I'm having a bit of trouble turning off the 'other news' in spotlight. I'd like to stop the list of other headlines appearing.

In the 'settings for other articles' area of the block there is a 'Display X articles' box - if you enter 5 it displays 5 headlines etc no problem. But if I enter '0' it displays *all* of them !!

Is this normal ? Anyway to turn it off ? Thanks


2
Stewdio
Re: Spotlight - how to turn off other news??
  • 2003/12/17 9:28

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


After looking around, I didn't see any way around this. Funny I never noticed before. In any case, you can go into the template and comment out:

<{$block.lang_othernews}>
<ul>
<{foreach item=news from=$block.stories}>
<li><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.title}></a> (<{$news.hitsordate}>)</li>
<{/foreach}>

This will remove it from being displayed. The reason I suggest commenting out the code is that it will make it much easier to uncomment if you decide to change your mind later down the road without having to redo or find the code again.

Cheers.

3
MadFish
Re: Spotlight - how to turn off other news??
  • 2003/12/17 10:24

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


Many thanks !

Login

Who's Online

182 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 182


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