You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 234 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - news on the homepage style [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
gazraa
Nuke Soldier
Nuke Soldier


Joined: Aug 22, 2003
Posts: 17

Location: Oldham, UK

PostPosted: Fri Aug 22, 2003 3:50 am Reply with quoteBack to top

php newbie, so be gentle

i've set up a 6.7 site here http://penguin.gazraa.com and sorted out the look and features of most of it.

But....

on the homepage, there is a News section, which is white with black borders. why is this not taking on the style of the other blocks/modules using the settings in my theme.php file ie dark greeny blue title and light bluey background.

can someone point me to the code and file that i would need to sort this out.

i've been looking through the and as I said, i'm a php newbie so i get a bit lost.

cheers
Find all posts by gazraaView user's profileSend private messageVisit poster's website
erbuc
Corporal
Corporal


Joined: Apr 17, 2003
Posts: 65


PostPosted: Fri Aug 22, 2003 5:07 am Reply with quoteBack to top

Hi,

Nice theme BTW.

And I realise there are so many tables generated in the themes that it is hard to determine which tags need to be updated.

In your themes directory, you will find a file named 'tables.php' and in the News directory under modules you will find the 'index.php' file. Notice in the index.php file thatthere is a call to "opentable()". This sets the borders, backgrounds etc.

Notice in the tables.php that there are probably more that one opentable functions like opentable2() etc.

You can do 1 of 2 things:

Change the opentable() function in your tables.php to display the table settings as you wish or

Change the opentable() reference in your index.php to the appropriate opentable() function with the settings you want.

I hope this is clear. If not, just post again.

Cheers,

_________________
erbuc
*********
Live! from Bangkok, Thailand
http://www.siamcomm.com
Find all posts by erbucView user's profileSend private messageSend e-mailVisit poster's website
gazraa
Nuke Soldier
Nuke Soldier


Joined: Aug 22, 2003
Posts: 17

Location: Oldham, UK

PostPosted: Fri Aug 22, 2003 6:06 am Reply with quoteBack to top

found it! it wasn't the OpenTable function, that was fine, but in theme.php (did you mean that instead of tables.php?) it was the function themeindex() which hard codes the bgcolor to #FFFFFF

can't believe I missed that!

_________________
My Photography Club .:. My Photography Blog .:. Hug A Loo
Find all posts by gazraaView user's profileSend private messageVisit poster's website
erbuc
Corporal
Corporal


Joined: Apr 17, 2003
Posts: 65


PostPosted: Fri Aug 22, 2003 8:00 pm Reply with quoteBack to top

Oh good, glad you found it.

Those tables can get ya.

_________________
erbuc
*********
Live! from Bangkok, Thailand
http://www.siamcomm.com
Find all posts by erbucView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.164 Seconds - 126 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::