1
dewall
Presentation of category in news item
  • 2005/2/20 12:48

  • dewall

  • Just popping in

  • Posts: 14

  • Since: 2005/1/28


I would like to change the way the news module presents news. Default is that the category comes to the left of the news title. I would like to be able to change that and move the category to the right. I have looked through the forums but can not figure out how to acomplish this.

Does anyone know how to do this?

Kind regards
Gus

2
QLQ_QLQ
Re: Presentation of category in news item
  • 2005/2/20 14:54

  • QLQ_QLQ

  • Just popping in

  • Posts: 6

  • Since: 2004/10/16


Hi dewall

I think you can find this code in the file of html\modules\news\index.php

......

$story['title'] = $sarray[$i]->textlink().' : '.".XOOPS_URL."/modules/news/article.php?storyid=".$sarray[$i]->storyid()."'>".$sarray[$i]->title()."";
$story['hits'] = $sarray[$i]->counter();
// The line below can be used to display a Permanent Link image
// $story['title'] .= "  ";
......


you can change this code

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


like here

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


good luck !

Login

Who's Online

420 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 420


more...

Donat-O-Meter

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

Latest GitHub Commits