| Author |
Message |
joerobbo
Beginner


Joined: Jul 01, 2005 Posts: 8
|
Posted: Tue Jul 05, 2005 12:28 pm Post subject: php theme modification - extalite! |
|
|
| hi, i'm wanting to change the extralite theme so that the gaps between the blocks and the news items are just 4px instead of the default but can't find the bit in the phpcode to do this? any ideas? also i want to put a header on and have figured out how to do this, but the menu requiresjavascript and i cant fit this into javacsript.php dont know how any ideas? my site is www.joerobbo.com [joerobbo.com] and my php cms is www.joerobbo.com/nuke/html/ [joerobbo.com] - trying to make the nuke look like my site does in static html... thanks anyone who can help |
|
| Back to top |
|
|
AdBot
|
| Post subject: php theme modification - extalite! |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Tue Jul 05, 2005 1:14 pm Post subject: Re: php theme modification - extalite! |
|
|
re: block spacing - look in the theme.php file of your theme. there should be a function called "blocks" or "renderblock" or something like that. somewhere in there would be the code for the spacing (either before and/or after the opening/closing of the block's table). _________________
 |
|
| Back to top |
|
|
joerobbo
Beginner


Joined: Jul 01, 2005 Posts: 8
|
Posted: Tue Jul 05, 2005 5:57 pm Post subject: Re: php theme modification - extalite! |
|
|
| nah there isn't any function called blocks at all! im having really trouble witht the site - i can see phpnuke's potential, but resizing gaps hsould be straightforward. the trouble is its in pure php and i'm not experienced with it. any other suggestions? im also having trouble with your random block - the white space problem. i have changed the isAlbumName to getAlbumName etc and my module is spelt right and the directory is fine to i think. there shouldn't be a timeout either its on the default! HELLPP!! heh |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Wed Jul 06, 2005 6:37 am Post subject: Re: php theme modification - extalite! |
|
|
try looking for "themesidebox" in your theme.php file. is there one there? if so, paste the code here. _________________
 |
|
| Back to top |
|
|
joerobbo
Beginner


Joined: Jul 01, 2005 Posts: 8
|
Posted: Wed Jul 06, 2005 11:59 am Post subject: Re: php theme modification - extalite! |
|
|
yeh - here it is - although it seems only to control whats in the blocks - there is something controlling the overall table format for the index i think - although i noticed when i changed the width to 15 it went wierd... neway check it out www.joerobbo.com/nuke/html/
Code: › function themesidebox($title, $content) {
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"150\" bgcolor=\"000000\"><tr><td>"
."<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\"><tr><td bgcolor=\"ffffff\">"
."<font class=\"content\"><b>$title</b></font></td></tr><tr><td bgcolor=\"ffffff\"><font class=\"content\">"
."$content"
."</font></td></tr></table></td></tr></table><br>";
}
|
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Wed Jul 06, 2005 2:32 pm Post subject: Re: php theme modification - extalite! |
|
|
try tweaking the cellspacing/padding of the nested table. you can also ditch the line break after the closing of the table at the very end. _________________
 |
|
| Back to top |
|
|
|
|
|
|
|