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, 315 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 - Left sidebar does not display [ ]
 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
azism
Captain
Captain


Joined: May 20, 2004
Posts: 317

Location: Tucson, AZ

PostPosted: Mon Aug 07, 2006 9:29 am Reply with quoteBack to top

I have added a new html code module to my site. It is virtually a exact duplicate of an earlier module. However, the left column (or sidebar) in the new module does not appear, while in the old one it appears with no problem. The INDEX.PHP code for both follows:
Quote:
<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");

}
require_once("mainfile.php");
$page = "html";
include("header.php");
$index = 1;//right sidebar or not 0=off 1=on
OpenTable();
include("Arcade.html");
CloseTable();
include("footer.php");

?>


The only difference is the name of the module. Any ideas why it won't show up in this module? I am using php_Nuke 7.6.

_________________
Tom Wills
TI-99/4A On-Line UG Administrator
http://www.ti99ers.org/
Find all posts by azismView user's profileSend private messageVisit poster's website
HalJordan
Support Staff
Support Staff


Joined: Aug 07, 2004
Posts: 1117

Location: Somewhere around Hunan, China

PostPosted: Mon Aug 07, 2006 2:28 pm Reply with quoteBack to top

Try changing
Code:

$index = 1;

to
Code:

define('INDEX_FILE', true);

_________________
Obedezco, pero no cumplo.

Proprietor, www.computernewbie.info
Support staff, www.nukecops.com
Find all posts by HalJordanView user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
azism
Captain
Captain


Joined: May 20, 2004
Posts: 317

Location: Tucson, AZ

PostPosted: Thu Nov 20, 2008 8:05 am Reply with quoteBack to top

I have tried both the methods listed above, and with a small form I have created, the form takes up the entire page left to right, no right column or left column. The header and the footer both appear normally, but not the left column. The code is below:

Quote:

<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");

}
require_once("mainfile.php");
$page = "html";
include("header.php");
define('INDEX_FILE', true);
OpenTable();
include("JPAvote.html");
CloseTable();
include("footer.php");

?>


I am still using version 7.6. And suggestions???

_________________
Tom Wills
TI-99/4A On-Line UG Administrator
http://www.ti99ers.org/
Find all posts by azismView 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 - 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.267 Seconds - 356 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::