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


Author: chasewolfPostPosted: Thu Oct 27, 2005 12:52 pm    Post subject: Re: Right side blocks, how I miss them

Where at in the index.php do I need to add this. Question

Author: Evaders99PostPosted: Thu Oct 27, 2005 5:30 pm    Post subject: Re: Right side blocks, how I miss them

The beginning, after the copyrights

Author: ace2011PostPosted: Wed Dec 28, 2005 10:41 pm    Post subject:

Thanks for this thread, I've also been looking for the answer to this. Smile

Author: AllenMcBPostPosted: Sun Mar 25, 2007 10:25 am    Post subject: Re: Right side blocks, how I miss them

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

Author: Evaders99PostPosted: Thu Oct 27, 2005 12:08 pm    Post subject: Re: Right side blocks, how I miss them

Looks like your theme is using the Patched files. So for any module you want to display right blocks, add in modules/MODULENAME/index.php
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, 169 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 - Right side blocks, how I miss them Right side blocks, how I miss them

Nuke Cops -> NukeMods Theme Packs

Author: chasewolf PostPosted: Thu Oct 27, 2005 7:09 am    Post subject: Right side blocks, how I miss them

I can not figure out how to get right side blocks. I have read many forums but yet to find solution. I dont seem to matter what theme I have on, they just dont show up. Here is what my settings are in the theme.php.
The theme im running right is "labs"


function themefooter() {
global $index;
echo "<br>";
if (defined('INDEX_FILE')) {
echo "<td><img src=\"themes/Labs/images/pixel.gif\" width=\"5\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\">\n";
blocks(right);
echo "</td></tr></table>";
Code:

define('INDEX_FILE', true);
Evaders99 wrote:
add in modules/MODULENAME/index.php
Code:

define('INDEX_FILE', true);


This did make the forums appear in the center, with the right side blcks still showing; HOWEVER, when the user chooses a forum topic to read, the right side blocks disappear.

How can I keep the right side blocks visible all the time, no matter what?

Author: Evaders99 PostPosted: Tue Apr 03, 2007 7:03 pm    Post subject:

Edit the appropropriate files in modules/Forums
viewforum.php for viewing the forum, viewtopic.php for the topics, etc.

Or edit your theme's theme.php so that the right block always appears



Nuke Cops -> NukeMods Theme Packs

All times are GMT - 8 Hours

Page 1 of 1

Powered by phpBB © 2001,2002 phpBB Group
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.083 Seconds - 228 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) ::