1
crackerboy
appearance of news on front page.
  • 2004/10/4 17:07

  • crackerboy

  • Just popping in

  • Posts: 16

  • Since: 2004/9/29


i though i posted this already, but maybe not. is there a way to change a format like this

category : article title
Posted by author on 09/23/04 1:52:52 (2 reads)

to

article title
Posted in category by author on 09/23/04 1:52:52 (2 reads)

?

where would i go about changing this? any and all feedback is appreciated.

2
crackerboy
Re:appearance of news on front page.
  • 2004/10/11 23:42

  • crackerboy

  • Just popping in

  • Posts: 16

  • Since: 2004/9/29


bump.

3
JasonMR
Re:appearance of news on front page.
  • 2004/10/12 0:30

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21



4
crackerboy
Re:appearance of news on front page.
  • 2004/10/23 21:01

  • crackerboy

  • Just popping in

  • Posts: 16

  • Since: 2004/9/29


actually, i'm looking for the template or file for this appearance. i want to move where the category is called out.

can anyone help?

5
exbanious
Re:appearance of news on front page.
  • 2004/10/23 21:55

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


I think this is the code you are looking for.
In modules\news\article.php

Quote:

$story['id'] = $storyid;
$story['posttime'] = formatTimestamp($article->published());
$story['title'] = $article->textlink()." : ".$article->title();
$story['text'] = $article->hometext();
$bodytext = $article->bodytext();


try taking out

Quote:


$article->textlink()." : ".



something like that.

6
exbanious
Re:appearance of news on front page.
  • 2004/10/23 23:37

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


Forget about that last post.
It wasn't until after i posted it that i realized what you were really asking. I do that sometimes. Sorry.

What i did post was how to get rid of the catagory completely.
After messing around with this bit of code, i was able to show the catagory in the date area, but it wasn't in the correct format.
I'll keep messing around with it.

Login

Donat-O-Meter

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

Latest GitHub Commits