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, 154 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 - can I make phpnuke resizable [ ]
 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
xxpeglegxx
Nuke Soldier
Nuke Soldier


Joined: Feb 09, 2004
Posts: 10


PostPosted: Sat Feb 21, 2004 12:03 am Reply with quoteBack to top

How can I make phpnuke automatically resize to fit the browser. I have seen other php scripts do this but never phpnuke. is this possible?

thanks
steve
Find all posts by xxpeglegxxView user's profileSend private message
waynephinney
Nuke Cadet
Nuke Cadet


Joined: Feb 21, 2004
Posts: 6


PostPosted: Sat Feb 21, 2004 1:52 am Reply with quoteBack to top

Go into your themes folder. Open the theme.php file. In there(you have to know where to look), there is a spot which allows you to control the width of the site to a certain pixel width or a certain percentage. If you set the main table as a width that is above most people's resolutions, then set the other setting to 100%, it will expand to fit the screen.

I wish there was a more clear way to say this, but I can only do it if I'm editing my own theme. Otherwise, I probably would have trouble.

I don't know how to make it so this happens with every theme, and I don't know the best way to tell you have to do it with one theme, but I know at the least that it can be done.
Find all posts by waynephinneyView user's profileSend private message
xxpeglegxx
Nuke Soldier
Nuke Soldier


Joined: Feb 09, 2004
Posts: 10


PostPosted: Sat Feb 21, 2004 5:24 pm Reply with quoteBack to top

do you think this would be hard using the 3d theme?
Find all posts by xxpeglegxxView user's profileSend private message
xxpeglegxx
Nuke Soldier
Nuke Soldier


Joined: Feb 09, 2004
Posts: 10


PostPosted: Sun Feb 22, 2004 2:51 pm Reply with quoteBack to top

The only thing I could find in 3d fantasy that had a width param was the Tables php :
Code:

function OpenTable() {
    echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"><tr>
    <td width=\"15\" height=\"15\"><img src=\"themes/3D-Fantasy/images/up-left2.gif\" alt=\"\" border=\"0\"></td>
    <td background=\"themes/3D-Fantasy/images/up2.gif\" align=\"center\" width=\"100%\" height=\"15\">&nbsp;</td>
    <td><img src=\"themes/3D-Fantasy/images/up-right2.gif\" width=\"15\" height=\"15\" alt=\"\" border=\"0\"></td></tr>
    <tr>
    <td background=\"themes/3D-Fantasy/images/left2.gif\" width=\"15\">&nbsp;</td>
    <td bgcolor=\"ffffff\" width=\"100%\">";
}

function OpenTable2() {

    echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\"><tr>
    <td width=\"15\" height=\"15\"><img src=\"themes/3D-Fantasy/images/up-left2.gif\" alt=\"\" border=\"0\"></td>
    <td background=\"themes/3D-Fantasy/images/up2.gif\" align=\"center\" height=\"15\">&nbsp;</td>
    <td><img src=\"themes/3D-Fantasy/images/up-right2.gif\" width=\"15\" height=\"15\" alt=\"\" border=\"0\"></td></tr>
    <tr>
    <td background=\"themes/3D-Fantasy/images/left2.gif\" width=\"15\">&nbsp;</td>
    <td bgcolor=\"ffffff\">";
}
   
function CloseTable() {
    echo "</td>
    <td background=\"themes/3D-Fantasy/images/right2.gif\">&nbsp;</td></tr>
    <tr>
    <td width=\"15\" height=\"15\"><img src=\"themes/3D-Fantasy/images/down-left2.gif\" alt=\"\" border=\"0\"></td>
    <td background=\"themes/3D-Fantasy/images/down2.gif\" align=\"center\" height=\"15\">&nbsp;</td>
    <td><img src=\"themes/3D-Fantasy/images/down-right2.gif\" width=\"15\" height=\"15\" alt=\"\" border=\"0\"></td></tr>
    </td></tr></table>
    <br>";
}

function CloseTable2() {
    echo "</td>
    <td background=\"themes/3D-Fantasy/images/right2.gif\">&nbsp;</td></tr>
    <tr>
    <td width=\"15\" height=\"15\"><img src=\"themes/3D-Fantasy/images/down-left2.gif\" alt=\"\" border=\"0\"></td>
    <td background=\"themes/3D-Fantasy/images/down2.gif\" align=\"center\" height=\"15\">&nbsp;</td>
    <td><img src=\"themes/3D-Fantasy/images/down-right2.gif\" width=\"15\" height=\"15\" alt=\"\" border=\"0\"></td></tr>
    </td></tr></table>
    <br>";
}

?>




is this what i need to change? if so what needs to happen?
thanks
steve
Find all posts by xxpeglegxxView user's profileSend private message
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.417 Seconds - 87 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::