Tricked Out News

Welcome to TON. This site is dedicated to development of addons for the RavenNuke™ CMS
Follow Us:
Tricked Out Mods: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

News Title Link To Article
 
 
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> RavenNuke
View previous topic :: View next topic  
Author Message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Thu May 06, 2010 3:22 pm 
Post subject: News Title Link To Article
Reply with quote

Simple News Title Link Mod
In modules/News/index.php find:

Code:
$story_link = '<a href="news.html?amp;file=article&amp;sid=' . $sid . '">';


After add:

Code:
$title= ''.$story_link.''.$title.'</a>';


It seems to work with most themes although I did not test them all.

If you use this with the Tricked Out News mod, you will need to make 2 changes.

in modules/News/index.php around line 191 and 220 find:
Code:
 line 191  if ($fullcount > 0) {

                          $bottomlink = '<a title="'.$title.'" class="colorbox3

            line 220   $toplink .= '<a title="'.$title.'" class="colorbox3


and remove
Code:
title="'.$title.'"

_________________
Tricked Out News
  
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> RavenNuke All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
Forums ©