1
egeyisi
Is it possible: Title bars without topic names
  • 2005/2/24 14:25

  • egeyisi

  • Just popping in

  • Posts: 2

  • Since: 2005/2/24


When i submit a news article, as i choose a topic for that news, it includes the topic name in the title bar. For instance, if i submit a news titled as 'bla bla bla' in a topic called e.g. 'general', it gives this as a title:

<b><li>general : bla bla bla</li></b>

Is it possible to ommit this 'general : ' from the title bar and put it in another place -like the footer of the news?

2
batdevis
Re: Is it possible: Title bars without topic names
  • 2005/2/24 17:56

  • batdevis

  • Just popping in

  • Posts: 41

  • Since: 2002/8/16


here's my solution.

modules/news/index.php:
//bd
//$story['title'] = $thisstory->textlink().'&nbsp;:&nbsp;'.$story['title'];
$story['title'] = $story['title'];
$story['topictitle'] = $thisstory->textlink();
//--/bd


modules/news/article.php:
//bd

//$story['title'] = $article->textlink()."&nbsp;:&nbsp;".$article->title();
$story['title'] = $article->title();
$story['topictitle'] = $article->textlink();
//--/bd


bye!

Devis_

3
egeyisi
Re: Is it possible: Title bars without topic names
  • 2005/2/24 23:02

  • egeyisi

  • Just popping in

  • Posts: 2

  • Since: 2005/2/24


Thank you for your help. But, if i'm not missing something, it seems to me like a half solution.

When I change the code with the one what you propose, it really deletes the topic from the title bar. On the contrary, this time it becomes impossible to show the topic in any part of the news.

Can we solve this one?

Thanx

erhun

4
hyperpod
Re: Is it possible: Title bars without topic names
  • 2005/2/25 0:45

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


You need to edit the templates undet the templates directory for this module to move that.

You can cut it from the title and past it into the footer like you mentioned.

It would be a smarty tag with <{ }> surrounding it

Cheers,

Login

Who's Online

61 user(s) are online (30 user(s) are browsing Support Forums)


Members: 0


Guests: 61


more...

Donat-O-Meter

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

Latest GitHub Commits