1
sbkiller
News Title
  • 2004/7/27 20:42

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


You know the News Title have a semi-colon or this ":"

How you remove that?

because I don't want that thing there and because I don't want category group title there I just want the title of the news topic.


2
koertzen
Re: News Title
  • 2004/7/28 11:34

  • koertzen

  • Just popping in

  • Posts: 79

  • Since: 2003/10/22


You would have to hack the news module to remove it.

Open the index.php file and go to line 134. It currently reads as follows:
Quote:

$story['title'] = $sarray[$i]->textlink().'&nbsp;:&nbsp;'."<a href='".XOOPS_URL."/modules/news/article.php?storyid=".$sarray[$i]->storyid()."'>".$sarray[$i]->title()."</a>";


You will need to edit this line to remove the textlink().'&nbsp;:&nbsp;'. so that it reads as:
Quote:

$story['title'] = $sarray[$i]->"<a href='".XOOPS_URL."/modules/news/article.php?storyid=".$sarray[$i]->storyid()."'>".$sarray[$i]->title()."</a>";


You will then have to update this every time the News module is updated.

3
sbkiller
Re: News Title
  • 2004/7/28 19:32

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Thx!

4
hanif
Re: News Title
  • 2004/8/28 13:43

  • hanif

  • Just popping in

  • Posts: 37

  • Since: 2004/7/12


Hi, sorry is there also a way to remove the time written next to the date of the article which also appears in the title line?

Any help appreciated.

Many thanx
Hanif

Login

Who's Online

220 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 220


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