Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Formatting story.title in news module
by blindman on 2005/8/8 5:37:42

Well, it isn't in the template. Try to fix that in article.php in this zone
Quote:
$story['id'] = $storyid;
$story['posttime'] = formatTimestamp($article->published(),$dateformat);
$story['news_title'] = $article->title();
$story['title'] = $article->textlink()."&nbsp;:&nbsp;".$article->title();
$story['topic_title'] = $article->textlink();


I'm not sure, but I have made about the same changes and I was confused too.
And I think you should have a look at .../modules/news/class/class.newsstory.php for the textlink thing.
Quote:

function textlink()
{
$ret = "<a href='".XOOPS_URL."/modules/news/index.php?storytopic=".$this->topicid()."'>".$this->topic_title()."</a>";
return $ret;
}
Formatting story.title in news module
by jjcmoney on 2005/8/8 1:57:46

Hi everyone,

Can someone point me in the right direction? I'm trying to find out where I can seperate out the topic and article title in the news module main page (..../modules/news/).

It seems like they're bundled together as "story.title" and I can't format them directly in the templates.

I'd like to put the words "Topic:" before the topic, then a line break and then "Article:" before the article name. or maybe eliminate the Topic all together...not sure yet

I just can't figure out yet where to edit.

Thanks!

JC

Who's Online

551 user(s) are online (498 user(s) are browsing Support Forums)


Members: 0


Guests: 551


more...

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