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, 269 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 [ ]
 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
chasewolf
Nuke Cadet
Nuke Cadet


Joined: Oct 18, 2005
Posts: 7


PostPosted: Thu Oct 27, 2005 7:09 am Reply with quoteBack to top

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>";
Find all posts by chasewolfView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Oct 27, 2005 12:08 pm Reply with quoteBack to top

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
Code:

define('INDEX_FILE', true);

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
chasewolf
Nuke Cadet
Nuke Cadet


Joined: Oct 18, 2005
Posts: 7


PostPosted: Thu Oct 27, 2005 12:52 pm Reply with quoteBack to top

Where at in the index.php do I need to add this. Question
Find all posts by chasewolfView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Oct 27, 2005 5:30 pm Reply with quoteBack to top

The beginning, after the copyrights

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
ace2011
Nuke Cadet
Nuke Cadet


Joined: Nov 29, 2005
Posts: 8


PostPosted: Wed Dec 28, 2005 10:41 pm Reply with quoteBack to top

Thanks for this thread, I've also been looking for the answer to this. Smile
Find all posts by ace2011View user's profileSend private message
AllenMcB
Sergeant
Sergeant


Joined: Aug 22, 2004
Posts: 105


PostPosted: Sun Mar 25, 2007 10:25 am Reply with quoteBack to top

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?
Find all posts by AllenMcBView user's profileSend private messageSend e-mailVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Tue Apr 03, 2007 7:03 pm Reply with quoteBack to top

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

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
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.088 Seconds - 526 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::