1
tmreg
don't display topics in news
  • 2007/2/15 6:04

  • tmreg

  • Not too shy to talk

  • Posts: 137

  • Since: 2006/7/20


I would like to turn off the topic display in my news module.

I am using the News module 1.44 and XOOPS 2.0.16

Currently every news story's title is displayed as "Topic : Headline". I only have one topic category and I can't seem to find how to get this to display only the headline. The viewers get to the module by clicking on the News link (mysite.com/modules/news) or by linking directly to a story from various places in the site.

This is what I am talking about:http://rlchome.org/modules/news

I would appreciate any help.
-Matt

2
maydo
Re: don't display topics in news
  • 2007/3/27 15:27

  • maydo

  • Just popping in

  • Posts: 67

  • Since: 2004/12/30


im also searching for
wasn dess
www.remixland.de

3
Anonymous
Re: don't display topics in news
  • 2007/3/27 16:53

  • Anonymous

  • Posts: 0

  • Since:


I'm not 100% certain, but I think this involves editing the requisite html template.

Search the news module's index.php file for "html" to locate which of the hmtl templates it calls and edit that.

If you do edit it, keep a copy in case you decide to used more news categories at a later date.

4
tmreg
Re: don't display topics in news
  • 2007/3/28 4:06

  • tmreg

  • Not too shy to talk

  • Posts: 137

  • Since: 2006/7/20


unfortunately, it is not that easy. It looks like they made the variable the combined "category:title" so to delete the variable in the template file deletes both. that was the first thing I tried.
-Matt

5
iHackCode
Re: dont display topics in news

for the main news page.. look in modules/news/index.php.. around line 201 ..before changes
$story['title'] = $thisstory->textlink().' : '.$story['title'];

after changes.
$story['title'] = ' '.$story['title'];


the same goes with article.php (around line 185)
before changes.
$story['title'] = $article->textlink().' : '.$article->title();

after changes
$story['title'] = ' '.$article->title();


that all i can think of right now.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

6
tmreg
Re: dont display topics in news
  • 2007/3/29 3:12

  • tmreg

  • Not too shy to talk

  • Posts: 137

  • Since: 2006/7/20


Bandit-X,

Thank you very much for your help. I really appreciate it. The fix worked perfectly (you can see it athttp://churchthatcares.org/modules/news). I am quite certain I would have not found that for a while. Thanks again.
-Matt

7
CiberEspia
Re: dont display topics in news

@Bandit-X: I also needed to eliminate that, thanks you!!! already I could change it!!
Mario Burga
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Adictoshp.org|Web Blog<<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Login

Who's Online

151 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

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

Latest GitHub Commits