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, 90 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - What controls the behaviour/formatting of blocks? [ ]
 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
boonkwee
Corporal
Corporal


Joined: Feb 14, 2003
Posts: 74

Location: Singapore

PostPosted: Sun Mar 09, 2003 10:35 pm Reply with quoteBack to top

Does anyone know what controls the behaviour / formatting of blocks besides the themesidebox section under theme.php?

I find that some blocks cause the alignment of tables to shift and make things look a little ugly at times. I'm asking this cause I just installed the random survey block and it 'pushes' the whole right side out of alignment?

In case you would like to check things out, I've created a test account.

test65.englishdept.net
user : test65
password test65

Thanks in advance!
Find all posts by boonkweeView user's profileSend private message
boonkwee
Corporal
Corporal


Joined: Feb 14, 2003
Posts: 74

Location: Singapore

PostPosted: Tue Mar 11, 2003 5:08 am Reply with quoteBack to top

For your comparison, please see this two sites:

default survey http://pulse.englishdept.net
random survey http://test65.englishdept.net

notice how the random survey block 'pushes' the side block a little to the right. help anyone?
Find all posts by boonkweeView user's profileSend private message
boonkwee
Corporal
Corporal


Joined: Feb 14, 2003
Posts: 74

Location: Singapore

PostPosted: Tue Mar 11, 2003 8:17 pm Reply with quoteBack to top

I've solved my table alignment problem Cool

In case anyone's interested, here's how.

In block-RandomSurvey.php find these lines:
$content .= "<div align=\"center\"><font class=\"content\"><b>$pollTitle</b></font></div>";
for($i = 1; $i <= 12; $i++) {


then add these lines:
$content .= "<table border=\"0\" width=\"100%\">";


That's all! Very Happy
Find all posts by boonkweeView user's profileSend private message
dsnail2000
Site Admin
Site Admin


Joined: Mar 17, 2003
Posts: 331

Location: Northern VA

PostPosted: Tue Apr 22, 2003 11:54 am Reply with quoteBack to top

exactly what line do you insert it after?
Find all posts by dsnail2000View user's profileSend private messageVisit 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
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.401 Seconds - 495 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::