1
BDW
News topic Image "title" - How do i add it?
  • 2006/9/12 10:10

  • BDW

  • Quite a regular

  • Posts: 280

  • Since: 2002/9/28


In news articles the images that link to the topics dont have a title in the HTML. For example:

Quote:
Announcements


Should be

Quote:


How do I change this?

2
rplima2004
Re: News topic Image "title" - How do i add it?
  • 2006/9/12 13:09

  • rplima2004

  • Just popping in

  • Posts: 70

  • Since: 2004/10/8


Hi,

Change the function below and insert the title. This function is on the file XOOPS_ROOT_PATH/modules/news/class/class.newsstory.php
Quote:

function imglink()
{
$ret = '';
if ($this->topic_imgurl() != '' && file_exists(XOOPS_ROOT_PATH."/modules/news/images/topics/".$this->topic_imgurl())) {
$ret = "".$this->topic_title()."";
}
return $ret;
}


att

Rodrigo

Login

Who's Online

198 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 198


more...

Donat-O-Meter

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

Latest GitHub Commits