Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5
Author Message
leo51
Worker
Worker



Joined: Sep 09, 2004
Posts: 106
Location: Canada

PostPosted: Mon Sep 20, 2004 8:52 pm Reply with quote

Hi, I was wondering how could I only change the background and text font style of the news presentation mod. I have been at it for days first in 7.4 and now in 7.5 so I have decided to come up here for help. I am able to change borders and colors around the output but not the main area where the news item appears. I don't want to change the theme just the news mods.


Thanks for any help
 
View user's profile Send private message Visit poster's website MSN Messenger
spcdata
Regular
Regular



Joined: Jan 24, 2004
Posts: 81
Location: Sweden

PostPosted: Mon Sep 20, 2004 9:21 pm Reply with quote

Hello Very Happy I don't now what theme you have?

But in your theme.php "function themeindex"
that should be the place to make changes.

Example:

Code:
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#ffffff\" width=\"100%\"><tr><td>\n"

        ."<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"#D6D6D6\" width=\"100%\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#D6D6D6\" width=\"100%\"><tr><td align=\"left\">\n"
        ."<font class=content1><b>$title</b></font>\n"
        ."</td></tr></table></td></tr></table>\n"
        ."<b><a href=\"modules.php?name=News&amp;new_topic=$topic\"><img src=\"$t_image\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a></B></font>\n";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "</td></tr></table><br>\n"
        ."<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"#D6D6D6\" width=\"100%\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#FFFFF0\" width=\"100%\"><tr><td align=\"center\">\n"
        .""._POSTEDBY." ";


The first one changes the background for the news:

Code:
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#ffffff\" width=\"100%\"><tr><td>\n"


Hope this helps You.

_________________
/spcdata 
View user's profile Send private message Send e-mail Visit poster's website
leo51







PostPosted: Tue Sep 21, 2004 2:24 am Reply with quote

spcdata, Many thanks for the info I was looking in the wrong place all of the time.
 
spcdata







PostPosted: Tue Sep 21, 2004 2:29 am Reply with quote

Quote:
I was looking in the wrong place all of the time

That's one way to find out how other things work Wink

I'm Very Happy it helpt You !
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5

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 ©