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

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 

Author: spottedhogPostPosted: Sun Jul 23, 2006 6:36 am    Post subject:

OK.... I am sure many will disagree, but I just got to say something....

The largest content of support issues, besides the unsecure original Nuke code, is when people try to make modifications to the source code to make Nuke something different than it was designed for. Sure, you can go change functions in mainfile.php, but then you will be on some support site somewhere asking what to do next, or that you have this new problem, or you cannot modify your newest theme you purchased, etc.

The reality is the nuke home index page is about the only page that contains the right blocks. Extremely few other modules want to display their content inside both left and right blocks. Displaying right blocks also slow down page generation times.

If you are looking to only display content in one long block, then redesign the already created block and leave the other code alone. If you need that block to be wider, then specify it as such in your theme. Heck, if you only wanted to show left blocks and module content, you do that by a slight theme modification. You could even take that a step further and have a nuke site with no blocks showing at all. And this can be done without modifying anything in the mainfile.php

....ok. Off the soapbox now.



Nuke Cops -> Core Chargers

All times are GMT - 8 Hours

Page 1 of 1

Powered by phpBB © 2001,2002 phpBB Group
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, 378 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 - The Blocks The Blocks

Nuke Cops -> Core Chargers

Author: SideX PostPosted: Sat Jul 22, 2006 9:03 pm    Post subject: The Blocks

Ok, say i want to ditch the whole block system in phpnuke and replace it with 2 static files rt_box.php and lt_box.php those files would be the files that would fill up the left and right sides of phpnuke, replacing the phpnuke blocks....i managed to do this in the theme.php, but i like to make things more complicated so i want to do this in mainfile.php

id assume i have to edit the functions render_blocks() and blocks() but other then that im clueless any ideas? Laughing
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.028 Seconds - 212 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
added by Evaders - DO NOT REMOVE
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::