Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
Camber
New Member
New Member



Joined: Apr 02, 2006
Posts: 13

PostPosted: Mon Dec 04, 2006 11:24 pm Reply with quote

I was wondering if there was a simple way to replace the text Read More with a little animated graphic? It seems some visitors just can't quite find the Read More. Thank you.
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Tue Dec 05, 2006 5:51 am Reply with quote

depends on what you use,theme,news mod etc...could be different but look for $morelink
 
View user's profile Send private message
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Tue Dec 05, 2006 8:33 am Reply with quote

Just to elaborate on what Hitwalker said ... if you are using the standard Nuke modules (hopefully Ravennuke) then the $morelink is echoed a couple of times in your theme. You will find this in the themeindex function of the theme. Now, if you allow your users to choose their theme then you might need to make the change in all the themes and that could get "old", especially if you do an upgrade and then have to re-do the changes. So think twice.

The specific code will go something like this:

Code:
<tr>

   <td bgcolor="#cccccc">
   <font class="content">
   <?php echo"$morelink"; ?>
   </font>
   </td>
   </tr>

Note: this code is from the slash theme that I've been working on. But it should be similar in others.

The formatting of it will vary. You'd need to replace the $morelink with an img src= and you'd need to fiddle with formatting it because generally that fits on one line. You will probably find two instances of this in the themeindex, one where $aid==informant and the other where it doesn't.

Oh .... what I was saying originally about this being more complicated is true. I was staring at the code and wondering where $morelink came from and it's generated in the news module and its value depends on whether there is additional text to display beyond what is set for the main page. And that determination is based on several tests. And $morelink gets its value from a language constant that depends on what language file is selected. I guess you could test whether it is null or not and only display the graphic if it's not null but you'd have to verify it for yourself.

In short, you really have to want to do this. Now: one idea that does come to mind would be to create a new style in the style css and call it bigboldcontent or some such and just replace the font class="content" with that. Or have a training session for your users.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©