» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 101
0 members and 101 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant
www.rimonabant-weight-loss.com
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on How do you make a blank page to enter HTML? within the Site design forums, part of the General category; Ok, I looked everywhere and I know this maybe simple but I'm new to this whole nuke thing. Heres ...



Go Back   Nukemods Forum » General » Site design

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2003, 06:27 AM
Junior Member
 
Join Date: May 2003
Posts: 15
How do you make a blank page to enter HTML?
Ok, I looked everywhere and I know this maybe simple but I'm new to this whole nuke thing.

Heres my question:

I want to make a page that looks like the default home page but have other blocks in it. How do I do that with PHPNuke 6.5? I don't want it to be my home page but a blank page I can insert some HTML into.

I know how to manipulate the header to link to different pages (modules), but I don't have a clear understanding of how to make a new module that I can edit the text on it. I copied the news module and renamed it Agency to go with the link I made at the top of the page. So I got the link right, but nothing comes up but the modules on the side with a blank middle.

You can see this at www.maddenwars.com/index.php and then click The Agency at the top of the page. This will take you to the page in question. How do I get blocks into the middle?

Thanks for any help you can give.

shopop24
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-14-2003, 09:00 AM
Junior Member
 
Join Date: Nov 2002
Location: Chicago, IL.
Posts: 50
Here is a quick and dirty way to accomplish what you are looking for!

Create a HTM page that you would like to display as needed! Save this in the root directory of your site (../NewPage.htm)

Create a Name (Directory) in your modules directory that reflects the page you wish to create (modules/htmlpage) as an example!

Next create a subdirectory within it called language! (modules/htmlpage/language)

Create the following php file and save it within this directopry as
Quote:
lang-english.php
Code:
<?php

/**************************************************************************/
/* PHP-NUKE: Advanced Content Management System                           */
/* ============================================                           */
/*                                                                        */
/* This is the language module with all the system messages               */
/*                                                                        */
/* Change nameme below to the name you would like the module to be.       */
/*                                                                        */
/* If you need to use double quotes (") remember to add a backslash (\),  */
/* so your entry will look like: This is \"double quoted\" text.          */
/**************************************************************************/

define("_HTMLMODULE","htmlpage");

?>
Finally create a
Quote:
index.php
that reflects the following This will be saved as modules/htmlpage/index.php

Code:
<?php

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

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);

/************************************************************************/
/* Configuration                                                        */
/*                                                                      */
/* You can change this:                                                 */
/* $index = 0; (right side off)                                         */
/************************************************************************/
$index = 1;

/************************************************************************/
/* Configuration                                                        */
/*                                                                      */
/* _HTMLMODULE is defined in the language file (ie HTMLMODULE/LANGUAGE) */
/*                                                                      */
/************************************************************************/

$subject = "$sitename "._HTMLMODULE."";

include("header.php");

/************************************************************************/
/* Configuration                                                        */
/*                                                                      */
/* This is where everything happens. Simply place the name of the HTM   */
/* file you  created in the root below!
/************************************************************************/

OpenTable();
include("NewPage.htm");
CloseTable();


include("footer.php");

?>
Hope this helps!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-14-2003, 10:56 AM
Junior Member
 
Join Date: May 2003
Posts: 15
Thanx Exxxpress. It worked just like you said, but I have a ?> at the top, what file should I edit to get rid of that. You can find it at http://www.maddenwars.com/modules.php?name=Agency. Thanks for all your help

ShopOp24
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-14-2003, 11:02 AM
Junior Member
 
Join Date: Nov 2002
Location: Chicago, IL.
Posts: 50
Unless you did a typo in the php files that I provided the ?> must be in your htm file! Please review your files or Post and I will take a look at this or PM me and I will take a look!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin.php blank page ? Y-not Nuke 7.x - General 2 10-31-2006 01:28 PM
Want to add an html page with a link in main menu Clarion Open topics 2 03-17-2005 04:15 PM
Adding a page of HTML in nuke? Matt22 Nuke 7.x - General 7 11-11-2004 03:55 PM
Html page! squarebanana Site design 2 09-14-2004 01:10 PM
Blank White Page when submitting from Edit Admin or Edit Use Elite-Fusion Site design 0 04-25-2003 01:33 AM


All times are GMT -5. The time now is 05:33 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31