Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 83
2 members and 81 guests
foo7tjtdallergp, health46ev26
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Themes

Reply
 
LinkBack Thread Tools Display Modes
trying to edit a theme, just need to learn format?
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: May 2003
trying to edit a theme, just need to learn format? - 05-24-2003, 06:27 PM

hello I am using the theme BiZ-2-0 on my site I really like the way this looks and works except for the fact that the news entry's on the home page dont look right.

I have been looking into modifiying it and know I need to change the theme.php, in the function themeindex area but that is as close as I have come.

here is the code I have to work with, can anyone just help me put a border around it? and mabey size the text if I can get the format right I can tweak the colors and sizes and what not

thanks in advance!

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
if ($notes != "") {
$notes = "

"._NOTE." $notes\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&u name=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/BiZ-2-0/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
05-25-2003, 07:04 AM

you have to edit the story_home.html file I think


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
learn make a theme for nuke assimi Nuke 7.x - General 4 08-02-2007 11:08 AM
php question - date format Lokrin Open topics 1 03-14-2005 04:06 AM
Blank White Page when submitting from Edit Admin or Edit Use Elite-Fusion Site design 0 04-25-2003 01:33 AM
How to format the menu like you guys did ? deoase Site design 4 03-13-2003 12:38 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31