Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

php theme modification - extalite!

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic
Author Message
joerobbo

Beginner
Beginner


Joined: Jul 01, 2005
Posts: 8

PostPosted: Tue Jul 05, 2005 12:28 pm    Post subject: php theme modification - extalite! Reply with quote

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
Offline View user's profile Send private message
AdBot
   Post subject: php theme modification - extalite!  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Tue Jul 05, 2005 1:14 pm    Post subject: Re: php theme modification - extalite! Reply with quote

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
Offline View user's profile Send private message Visit poster's website
joerobbo

Beginner
Beginner


Joined: Jul 01, 2005
Posts: 8

PostPosted: Tue Jul 05, 2005 5:57 pm    Post subject: Re: php theme modification - extalite! Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Jul 06, 2005 6:37 am    Post subject: Re: php theme modification - extalite! Reply with quote

try looking for "themesidebox" in your theme.php file. is there one there? if so, paste the code here.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
joerobbo

Beginner
Beginner


Joined: Jul 01, 2005
Posts: 8

PostPosted: Wed Jul 06, 2005 11:59 am    Post subject: Re: php theme modification - extalite! Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Jul 06, 2005 2:32 pm    Post subject: Re: php theme modification - extalite! Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic

 
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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia